#431B7D#431B7D

#431B7D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.153 H 295.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#431B7D
RGBrgb(67, 27, 125)
HSLhsl(264, 64%, 30%)
HSVhsv(264, 78%, 49%)
CMYKcmyk(46.4%, 78.4%, 0%, 51%)
CIE-LABlab(21.79, 40.60, -48.01)
CIE-LCHlch(21.79, 62.88, 310.22°)
OKLaboklab(34.41% 0.0664 -0.1375)
OKLCHoklch(34.41% 0.153 295.8)
XYZxyz(6.4074, 3.4577, 19.7279)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B7D #557D1B
analogous
#1B247D #431B7D #741B7D
triadic
#431B7D #7D431B #1B7D43
tetradic
#431B7D #7D1B24 #557D1B #1B7D74
square
#431B7D #7D1B24 #557D1B #1B7D74
split-complementary
#431B7D #7D741B #247D1B
monochromatic
#0D0519 #28104B #431B7D #5E26AF #7B3DD5

Accessibility & contrast

On white

12.41
#431B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#431B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B7D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B7D#FFFFFF#000000##FFFFFF
##431B7D1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#33354B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431b7d;
/* rgb */ color: rgb(67, 27, 125);
/* oklch */ color: oklch(34.4% 0.153 295.8);
Tailwind
colors: {
  custom: {
    50: '#7d5ca4',
    500: '#431b7d',
    950: '#000000',
  },
}
SCSS
$custom: #431b7d;
$custom-light: #7d5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#431b7d",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 264.49,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34411,
    "c": 0.15275,
    "h": 295.8
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#431B7D
secondary
#84B143
accent
#E740A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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