#431D7E#431D7E

#431D7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.152 H 295.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#431D7E
RGBrgb(67, 29, 126)
HSLhsl(264, 63%, 30%)
HSVhsv(264, 77%, 49%)
CMYKcmyk(46.8%, 77%, 0%, 50.6%)
CIE-LABlab(22.22, 39.91, -47.94)
CIE-LCHlch(22.22, 62.38, 309.77°)
OKLaboklab(34.74% 0.0643 -0.1373)
OKLCHoklch(34.74% 0.152 295.1)
XYZxyz(6.5190, 3.5782, 20.0818)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431D7E #587E1D
analogous
#1D277E #431D7E #731D7E
triadic
#431D7E #7E431D #1D7E43
tetradic
#431D7E #7E1D27 #587E1D #1D7E73
square
#431D7E #7E1D27 #587E1D #1D7E73
split-complementary
#431D7E #7E731D #277E1D
monochromatic
#0E061B #29124C #431D7E #5D28B0 #7B42D3

Accessibility & contrast

On white

12.24
#431D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#431D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431D7E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431D7E#FFFFFF#000000##FFFFFF
##431D7E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#32374C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431d7e;
/* rgb */ color: rgb(67, 29, 126);
/* oklch */ color: oklch(34.7% 0.152 295.1);
Tailwind
colors: {
  custom: {
    50: '#7d5da4',
    500: '#431d7e',
    950: '#000000',
  },
}
SCSS
$custom: #431d7e;
$custom-light: #7d5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#431d7e",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 263.505,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34745,
    "c": 0.15167,
    "h": 295.1
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#431D7E
secondary
#87B145
accent
#E642A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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