#431D8B#431D8B

#431D8B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.167 H 291.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#431D8B
RGBrgb(67, 29, 139)
HSLhsl(261, 65%, 33%)
HSVhsv(261, 79%, 55%)
CMYKcmyk(51.8%, 79.1%, 0%, 45.5%)
CIE-LABlab(23.46, 43.55, -54.09)
CIE-LCHlch(23.46, 69.44, 308.84°)
OKLaboklab(35.99% 0.0606 -0.1554)
OKLCHoklch(35.99% 0.167 291.3)
XYZxyz(7.4130, 3.9358, 24.7902)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431D8B #658B1D
analogous
#1D2E8B #431D8B #7A1D8B
triadic
#431D8B #8B431D #1D8B43
tetradic
#431D8B #8B1D2E #658B1D #1D8B7A
square
#431D8B #8B1D2E #658B1D #1D8B7A
split-complementary
#431D8B #8B7A1D #2E8B1D
monochromatic
#120826 #2B1258 #431D8B #5B28BE #7B49D9

Accessibility & contrast

On white

11.75
#431D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#431D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431D8B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431D8B#FFFFFF#000000##FFFFFF
##431D8B1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#2A3C53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #431d8b;
/* rgb */ color: rgb(67, 29, 139);
/* oklch */ color: oklch(36.0% 0.167 291.3);
Tailwind
colors: {
  custom: {
    50: '#7f5eae',
    500: '#431d8b',
    950: '#000000',
  },
}
SCSS
$custom: #431d8b;
$custom-light: #7f5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#431d8b",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 260.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35987,
    "c": 0.1668,
    "h": 291.3
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#431D8B
secondary
#94BB49
accent
#E83FAE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #431D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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