#431B78#431B78

#431B78 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.147 H 297.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#431B78
RGBrgb(67, 27, 120)
HSLhsl(266, 63%, 29%)
HSVhsv(266, 78%, 47%)
CMYKcmyk(44.2%, 77.5%, 0%, 52.9%)
CIE-LABlab(21.33, 39.23, -45.58)
CIE-LCHlch(21.33, 60.14, 310.72°)
OKLaboklab(33.95% 0.0678 -0.1304)
OKLCHoklch(33.95% 0.147 297.5)
XYZxyz(6.0960, 3.3331, 18.0878)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B78 #50781B
analogous
#1B2278 #431B78 #721B78
triadic
#431B78 #78431B #1B7843
tetradic
#431B78 #781B22 #50781B #1B7872
square
#431B78 #781B22 #50781B #1B7872
split-complementary
#431B78 #78721B #22781B
monochromatic
#0E0619 #271046 #431B78 #5F26AA #7C3BD3

Accessibility & contrast

On white

12.60
#431B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#431B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B78
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B78#FFFFFF#000000##FFFFFF
##431B781.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#353348
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431b78;
/* rgb */ color: rgb(67, 27, 120);
/* oklch */ color: oklch(33.9% 0.147 297.5);
Tailwind
colors: {
  custom: {
    50: '#7d5ca0',
    500: '#431b78',
    950: '#000000',
  },
}
SCSS
$custom: #431b78;
$custom-light: #7d5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#431b78",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 265.806,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33947,
    "c": 0.14696,
    "h": 297.5
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#431B78
secondary
#7FAC43
accent
#E6419F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431B78

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

Preview Lab → · Contrast checker → · Palette generator →

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