#481B81#481B81

#481B81 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.158 H 297.6°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#481B81
RGBrgb(72, 27, 129)
HSLhsl(266, 65%, 31%)
HSVhsv(266, 79%, 51%)
CMYKcmyk(44.2%, 79.1%, 0%, 49.4%)
CIE-LABlab(22.81, 42.54, -48.85)
CIE-LCHlch(22.81, 64.77, 311.05°)
OKLaboklab(35.39% 0.0732 -0.1398)
OKLCHoklch(35.39% 0.158 297.6)
XYZxyz(7.0258, 3.7464, 21.1176)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B81 #54811B
analogous
#1B2181 #481B81 #7B1B81
triadic
#481B81 #81481B #1B8148
tetradic
#481B81 #811B21 #54811B #1B817B
square
#481B81 #811B21 #54811B #1B817B
split-complementary
#481B81 #817B1B #21811B
monochromatic
#10061C #2C104E #481B81 #6426B4 #823FD7

Accessibility & contrast

On white

12.00
#481B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#481B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B81
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B81#FFFFFF#000000##FFFFFF
##481B811.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#39364D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481b81;
/* rgb */ color: rgb(72, 27, 129);
/* oklch */ color: oklch(35.4% 0.158 297.6);
Tailwind
colors: {
  custom: {
    50: '#815da6',
    500: '#481b81',
    950: '#000000',
  },
}
SCSS
$custom: #481b81;
$custom-light: #815da6;
$custom-dark: #000000;
JSON
{
  "hex": "#481b81",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 266.471,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35388,
    "c": 0.15782,
    "h": 297.6
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#481B81
secondary
#83B543
accent
#E83F9E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481B81

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

Preview Lab → · Contrast checker → · Palette generator →

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