#481B8C#481B8C

#481B8C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.170 H 294.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#481B8C
RGBrgb(72, 27, 140)
HSLhsl(264, 68%, 33%)
HSVhsv(264, 81%, 55%)
CMYKcmyk(48.6%, 80.7%, 0%, 45.1%)
CIE-LABlab(23.85, 45.48, -54.05)
CIE-LCHlch(23.85, 70.63, 310.08°)
OKLaboklab(36.43% 0.0699 -0.1551)
OKLCHoklch(36.43% 0.17 294.3)
XYZxyz(7.7967, 4.0548, 25.1777)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B8C #5F8C1B
analogous
#1B268C #481B8C #811B8C
triadic
#481B8C #8C481B #1B8C48
tetradic
#481B8C #8C1B26 #5F8C1B #1B8C81
square
#481B8C #8C1B26 #5F8C1B #1B8C81
split-complementary
#481B8C #8C811B #268C1B
monochromatic
#130725 #2E1159 #481B8C #6225BF #8246DB

Accessibility & contrast

On white

11.60
#481B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#481B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B8C
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B8C#FFFFFF#000000##FFFFFF
##481B8C1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#333B54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481b8c;
/* rgb */ color: rgb(72, 27, 140);
/* oklch */ color: oklch(36.4% 0.170 294.3);
Tailwind
colors: {
  custom: {
    50: '#835daf',
    500: '#481b8c',
    950: '#000000',
  },
}
SCSS
$custom: #481b8c;
$custom-light: #835daf;
$custom-dark: #000000;
JSON
{
  "hex": "#481b8c",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 263.894,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.17007,
    "h": 294.3
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#481B8C
secondary
#8EBD46
accent
#EB3DA6
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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