#431F7D#431F7D

#431F7D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.148 H 295.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#431F7D
RGBrgb(67, 31, 125)
HSLhsl(263, 60%, 31%)
HSVhsv(263, 75%, 49%)
CMYKcmyk(46.4%, 75.2%, 0%, 51%)
CIE-LABlab(22.49, 38.61, -46.87)
CIE-LCHlch(22.49, 60.72, 309.48°)
OKLaboklab(34.91% 0.0627 -0.1342)
OKLCHoklch(34.91% 0.148 295)
XYZxyz(6.5054, 3.6538, 19.7606)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F7D #597D1F
analogous
#1F2A7D #431F7D #721F7D
triadic
#431F7D #7D431F #1F7D43
tetradic
#431F7D #7D1F2A #597D1F #1F7D72
square
#431F7D #7D1F2A #597D1F #1F7D72
split-complementary
#431F7D #7D721F #2A7D1F
monochromatic
#0E071B #29134C #431F7D #5D2BAE #7B45D1

Accessibility & contrast

On white

12.13
#431F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#431F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F7D
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F7D#FFFFFF#000000##FFFFFF
##431F7D1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#33374C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431f7d;
/* rgb */ color: rgb(67, 31, 125);
/* oklch */ color: oklch(34.9% 0.148 295.0);
Tailwind
colors: {
  custom: {
    50: '#7d5ea3',
    500: '#431f7d',
    950: '#000000',
  },
}
SCSS
$custom: #431f7d;
$custom-light: #7d5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#431f7d",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 262.979,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34905,
    "c": 0.14812,
    "h": 295
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#431F7D
secondary
#88B048
accent
#E344A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #431F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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