#431B8D#431B8D

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

Color values

HEX#431B8D
RGBrgb(67, 27, 141)
HSLhsl(261, 68%, 33%)
HSVhsv(261, 81%, 55%)
CMYKcmyk(52.5%, 80.9%, 0%, 44.7%)
CIE-LABlab(23.34, 45.02, -55.54)
CIE-LCHlch(23.34, 71.50, 309.03°)
OKLaboklab(35.96% 0.0615 -0.1596)
OKLCHoklch(35.96% 0.171 291.1)
XYZxyz(7.5130, 3.8999, 25.5510)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B8D #658D1B
analogous
#1B2C8D #431B8D #7C1B8D
triadic
#431B8D #8D431B #1B8D43
tetradic
#431B8D #8D1B2C #658D1B #1B8D7C
square
#431B8D #8D1B2C #658D1B #1B8D7C
split-complementary
#431B8D #8D7C1B #2C8D1B
monochromatic
#120726 #2B115A #431B8D #5B25C0 #7B47DC

Accessibility & contrast

On white

11.80
#431B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#431B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B8D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B8D#FFFFFF#000000##FFFFFF
##431B8D1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#293C54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #431b8d;
/* rgb */ color: rgb(67, 27, 141);
/* oklch */ color: oklch(36.0% 0.171 291.1);
Tailwind
colors: {
  custom: {
    50: '#805daf',
    500: '#431b8d',
    950: '#000000',
  },
}
SCSS
$custom: #431b8d;
$custom-light: #805daf;
$custom-dark: #000000;
JSON
{
  "hex": "#431b8d",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 261.053,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35963,
    "c": 0.17105,
    "h": 291.1
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#431B8D
secondary
#94BD46
accent
#EB3DAE
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #431B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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