#431B8A#431B8A

#431B8A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.168 H 291.9°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#431B8A
RGBrgb(67, 27, 138)
HSLhsl(262, 67%, 32%)
HSVhsv(262, 80%, 54%)
CMYKcmyk(51.4%, 80.4%, 0%, 45.9%)
CIE-LABlab(23.04, 44.19, -54.16)
CIE-LCHlch(23.04, 69.90, 309.21°)
OKLaboklab(35.67% 0.0625 -0.1556)
OKLCHoklch(35.67% 0.168 291.9)
XYZxyz(7.2928, 3.8119, 24.3913)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B8A #628A1B
analogous
#1B2A8A #431B8A #7B1B8A
triadic
#431B8A #8A431B #1B8A43
tetradic
#431B8A #8A1B2A #628A1B #1B8A7B
square
#431B8A #8A1B2A #628A1B #1B8A7B
split-complementary
#431B8A #8A7B1B #2A8A1B
monochromatic
#110724 #2A1157 #431B8A #5C25BD #7B45DB

Accessibility & contrast

On white

11.92
#431B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#431B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B8A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B8A#FFFFFF#000000##FFFFFF
##431B8A1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#2B3B52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #431b8a;
/* rgb */ color: rgb(67, 27, 138);
/* oklch */ color: oklch(35.7% 0.168 291.9);
Tailwind
colors: {
  custom: {
    50: '#7f5dad',
    500: '#431b8a',
    950: '#000000',
  },
}
SCSS
$custom: #431b8a;
$custom-light: #7f5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#431b8a",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 261.622,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35665,
    "c": 0.16765,
    "h": 291.9
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#431B8A
secondary
#91BC45
accent
#EA3EAC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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