#431F8D#431F8D

#431F8D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.167 H 290.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#431F8D
RGBrgb(67, 31, 141)
HSLhsl(260, 64%, 34%)
HSVhsv(260, 78%, 55%)
CMYKcmyk(52.5%, 78%, 0%, 44.7%)
CIE-LABlab(23.99, 43.16, -54.47)
CIE-LCHlch(23.99, 69.50, 308.39°)
OKLaboklab(36.42% 0.0585 -0.1565)
OKLCHoklch(36.42% 0.167 290.5)
XYZxyz(7.6111, 4.0960, 25.5837)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F8D #698D1F
analogous
#1F328D #431F8D #7A1F8D
triadic
#431F8D #8D431F #1F8D43
tetradic
#431F8D #8D1F32 #698D1F #1F8D7A
square
#431F8D #8D1F32 #698D1F #1F8D7A
split-complementary
#431F8D #8D7A1F #328D1F
monochromatic
#130929 #2B145B #431F8D #5B2ABF #7B4ED8

Accessibility & contrast

On white

11.54
#431F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#431F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F8D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F8D#FFFFFF#000000##FFFFFF
##431F8D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#293E55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #431f8d;
/* rgb */ color: rgb(67, 31, 141);
/* oklch */ color: oklch(36.4% 0.167 290.5);
Tailwind
colors: {
  custom: {
    50: '#805faf',
    500: '#431f8d',
    950: '#000000',
  },
}
SCSS
$custom: #431f8d;
$custom-light: #805faf;
$custom-dark: #000000;
JSON
{
  "hex": "#431f8d",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 259.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36415,
    "c": 0.16708,
    "h": 290.5
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#431F8D
secondary
#97BB4D
accent
#E741B1
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #431F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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