#431B8B#431B8B

#431B8B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.169 H 291.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#431B8B
RGBrgb(67, 27, 139)
HSLhsl(261, 67%, 33%)
HSVhsv(261, 81%, 55%)
CMYKcmyk(51.8%, 80.6%, 0%, 45.5%)
CIE-LABlab(23.14, 44.47, -54.62)
CIE-LCHlch(23.14, 70.43, 309.15°)
OKLaboklab(35.76% 0.0622 -0.1569)
OKLCHoklch(35.76% 0.169 291.6)
XYZxyz(7.3655, 3.8409, 24.7744)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B8B #638B1B
analogous
#1B2B8B #431B8B #7B1B8B
triadic
#431B8B #8B431B #1B8B43
tetradic
#431B8B #8B1B2B #638B1B #1B8B7B
square
#431B8B #8B1B2B #638B1B #1B8B7B
split-complementary
#431B8B #8B7B1B #2B8B1B
monochromatic
#120725 #2A1158 #431B8B #5C25BE #7B45DB

Accessibility & contrast

On white

11.88
#431B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#431B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B8B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B8B#FFFFFF#000000##FFFFFF
##431B8B1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#2A3B53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #431b8b;
/* rgb */ color: rgb(67, 27, 139);
/* oklch */ color: oklch(35.8% 0.169 291.6);
Tailwind
colors: {
  custom: {
    50: '#805dae',
    500: '#431b8b',
    950: '#000000',
  },
}
SCSS
$custom: #431b8b;
$custom-light: #805dae;
$custom-dark: #000000;
JSON
{
  "hex": "#431b8b",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 261.429,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.16878,
    "h": 291.6
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#431B8B
secondary
#92BC45
accent
#EA3DAD
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431B8B

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

Preview Lab → · Contrast checker → · Palette generator →

#431B8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva