#481F75#481F75

#481F75 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.139 H 301.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#481F75
RGBrgb(72, 31, 117)
HSLhsl(269, 58%, 29%)
HSVhsv(269, 74%, 46%)
CMYKcmyk(38.5%, 73.5%, 0%, 54.1%)
CIE-LABlab(22.45, 37.39, -41.81)
CIE-LCHlch(22.45, 56.09, 311.81°)
OKLaboklab(34.81% 0.0721 -0.1191)
OKLCHoklch(34.81% 0.139 301.2)
XYZxyz(6.3726, 3.6420, 17.1934)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481F75 #4C751F
analogous
#1F2175 #481F75 #731F75
triadic
#481F75 #75481F #1F7548
tetradic
#481F75 #751F21 #4C751F #1F7573
square
#481F75 #751F21 #4C751F #1F7573
split-complementary
#481F75 #75731F #21751F
monochromatic
#0F0618 #2A1245 #481F75 #662CA5 #8442CD

Accessibility & contrast

On white

12.15
#481F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#481F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481F75
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481F75#FFFFFF#000000##FFFFFF
##481F751.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#3E3447
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481f75;
/* rgb */ color: rgb(72, 31, 117);
/* oklch */ color: oklch(34.8% 0.139 301.2);
Tailwind
colors: {
  custom: {
    50: '#7f5e9d',
    500: '#481f75',
    950: '#000000',
  },
}
SCSS
$custom: #481f75;
$custom-light: #7f5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#481f75",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 268.605,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34806,
    "c": 0.13927,
    "h": 301.2
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#481F75
secondary
#7AA947
accent
#E14698
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #481F75

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#481F75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva