#431B77#431B77

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

Color values

HEX#431B77
RGBrgb(67, 27, 119)
HSLhsl(266, 63%, 29%)
HSVhsv(266, 77%, 47%)
CMYKcmyk(43.7%, 77.3%, 0%, 53.3%)
CIE-LABlab(21.24, 38.96, -45.09)
CIE-LCHlch(21.24, 59.59, 310.83°)
OKLaboklab(33.86% 0.068 -0.129)
OKLCHoklch(33.86% 0.146 297.8)
XYZxyz(6.0356, 3.3090, 17.7699)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B77 #4F771B
analogous
#1B2177 #431B77 #711B77
triadic
#431B77 #77431B #1B7743
tetradic
#431B77 #771B21 #4F771B #1B7771
square
#431B77 #771B21 #4F771B #1B7771
split-complementary
#431B77 #77711B #21771B
monochromatic
#0E0619 #271045 #431B77 #5F26A9 #7C3AD2

Accessibility & contrast

On white

12.64
#431B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#431B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B77
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B77#FFFFFF#000000##FFFFFF
##431B771.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#363348
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431b77;
/* rgb */ color: rgb(67, 27, 119);
/* oklch */ color: oklch(33.9% 0.146 297.8);
Tailwind
colors: {
  custom: {
    50: '#7d5c9f',
    500: '#431b77',
    950: '#000000',
  },
}
SCSS
$custom: #431b77;
$custom-light: #7d5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#431b77",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 266.087,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33855,
    "c": 0.1458,
    "h": 297.8
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#431B77
secondary
#7EAB42
accent
#E6429F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431B77

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

Preview Lab → · Contrast checker → · Palette generator →

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