#431B87#431B87

#431B87 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.164 H 292.7°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#431B87
RGBrgb(67, 27, 135)
HSLhsl(262, 67%, 32%)
HSVhsv(262, 80%, 53%)
CMYKcmyk(50.4%, 80%, 0%, 47.1%)
CIE-LABlab(22.74, 43.36, -52.76)
CIE-LCHlch(22.74, 68.29, 309.41°)
OKLaboklab(35.37% 0.0635 -0.1515)
OKLCHoklch(35.37% 0.164 292.7)
XYZxyz(7.0786, 3.7262, 23.2632)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B87 #5F871B
analogous
#1B2987 #431B87 #791B87
triadic
#431B87 #87431B #1B8743
tetradic
#431B87 #871B29 #5F871B #1B8779
square
#431B87 #871B29 #5F871B #1B8779
split-complementary
#431B87 #87791B #29871B
monochromatic
#100721 #2A1154 #431B87 #5C25BA #7B43D9

Accessibility & contrast

On white

12.03
#431B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#431B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B87
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B87#FFFFFF#000000##FFFFFF
##431B871.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#2D3951
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431b87;
/* rgb */ color: rgb(67, 27, 135);
/* oklch */ color: oklch(35.4% 0.164 292.7);
Tailwind
colors: {
  custom: {
    50: '#7f5dab',
    500: '#431b87',
    950: '#000000',
  },
}
SCSS
$custom: #431b87;
$custom-light: #7f5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#431b87",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 262.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3537,
    "c": 0.16423,
    "h": 292.7
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#431B87
secondary
#8EBA44
accent
#EA3EAA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431B87

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

Preview Lab → · Contrast checker → · Palette generator →

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