#431A8D#431A8D

#431A8D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.172 H 291.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#431A8D
RGBrgb(67, 26, 141)
HSLhsl(261, 69%, 33%)
HSVhsv(261, 82%, 55%)
CMYKcmyk(52.5%, 81.6%, 0%, 44.7%)
CIE-LABlab(23.19, 45.46, -55.79)
CIE-LCHlch(23.19, 71.97, 309.18°)
OKLaboklab(35.86% 0.0623 -0.1603)
OKLCHoklch(35.86% 0.172 291.2)
XYZxyz(7.4905, 3.8549, 25.5435)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A8D #648D1A
analogous
#1A2B8D #431A8D #7C1A8D
triadic
#431A8D #8D431A #1A8D43
tetradic
#431A8D #8D1A2B #648D1A #1A8D7C
square
#431A8D #8D1A2B #648D1A #1A8D7C
split-complementary
#431A8D #8D7C1A #2B8D1A
monochromatic
#120726 #2A1059 #431A8D #5C24C1 #7B45DD

Accessibility & contrast

On white

11.86
#431A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431A8D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A8D#FFFFFF#000000##FFFFFF
##431A8D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431a8d;
/* rgb */ color: rgb(67, 26, 141);
/* oklch */ color: oklch(35.9% 0.172 291.2);
Tailwind
colors: {
  custom: {
    50: '#805daf',
    500: '#431a8d',
    950: '#000000',
  },
}
SCSS
$custom: #431a8d;
$custom-light: #805daf;
$custom-dark: #000000;
JSON
{
  "hex": "#431a8d",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 261.391,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35857,
    "c": 0.17198,
    "h": 291.2
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#431A8D
secondary
#93BE45
accent
#EC3CAD
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #431A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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