#431B7B#431B7B

#431B7B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.150 H 296.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#431B7B
RGBrgb(67, 27, 123)
HSLhsl(265, 64%, 29%)
HSVhsv(265, 78%, 48%)
CMYKcmyk(45.5%, 78%, 0%, 51.8%)
CIE-LABlab(21.61, 40.05, -47.05)
CIE-LCHlch(21.61, 61.79, 310.41°)
OKLaboklab(34.22% 0.067 -0.1347)
OKLCHoklch(34.22% 0.15 296.4)
XYZxyz(6.2809, 3.4071, 19.0618)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B7B #537B1B
analogous
#1B237B #431B7B #731B7B
triadic
#431B7B #7B431B #1B7B43
tetradic
#431B7B #7B1B23 #537B1B #1B7B73
square
#431B7B #7B1B23 #537B1B #1B7B73
split-complementary
#431B7B #7B731B #237B1B
monochromatic
#0E0619 #281049 #431B7B #5E26AD #7C3CD4

Accessibility & contrast

On white

12.49
#431B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#431B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B7B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B7B#FFFFFF#000000##FFFFFF
##431B7B1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#34354A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431b7b;
/* rgb */ color: rgb(67, 27, 123);
/* oklch */ color: oklch(34.2% 0.150 296.4);
Tailwind
colors: {
  custom: {
    50: '#7d5ca2',
    500: '#431b7b',
    950: '#000000',
  },
}
SCSS
$custom: #431b7b;
$custom-light: #7d5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#431b7b",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 265,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34224,
    "c": 0.15044,
    "h": 296.4
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#431B7B
secondary
#82AF43
accent
#E741A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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