#431D7F#431D7F

#431D7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.153 H 294.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#431D7F
RGBrgb(67, 29, 127)
HSLhsl(263, 63%, 31%)
HSVhsv(263, 77%, 50%)
CMYKcmyk(47.2%, 77.2%, 0%, 50.2%)
CIE-LABlab(22.32, 40.19, -48.42)
CIE-LCHlch(22.32, 62.93, 309.69°)
OKLaboklab(34.84% 0.0641 -0.1388)
OKLCHoklch(34.84% 0.153 294.8)
XYZxyz(6.5838, 3.6041, 20.4233)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431D7F #597F1D
analogous
#1D287F #431D7F #741D7F
triadic
#431D7F #7F431D #1D7F43
tetradic
#431D7F #7F1D28 #597F1D #1D7F74
square
#431D7F #7F1D28 #597F1D #1D7F74
split-complementary
#431D7F #7F741D #287F1D
monochromatic
#0E061B #29124D #431D7F #5D28B1 #7B42D4

Accessibility & contrast

On white

12.20
#431D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431D7F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431D7F#FFFFFF#000000##FFFFFF
##431D7F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431d7f;
/* rgb */ color: rgb(67, 29, 127);
/* oklch */ color: oklch(34.8% 0.153 294.8);
Tailwind
colors: {
  custom: {
    50: '#7e5da5',
    500: '#431d7f',
    950: '#000000',
  },
}
SCSS
$custom: #431d7f;
$custom-light: #7e5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#431d7f",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 263.265,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34838,
    "c": 0.15284,
    "h": 294.8
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#431D7F
secondary
#88B245
accent
#E642A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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