#431C77#431C77

#431C77 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.145 H 297.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#431C77
RGBrgb(67, 28, 119)
HSLhsl(266, 62%, 29%)
HSVhsv(266, 76%, 47%)
CMYKcmyk(43.7%, 76.5%, 0%, 53.3%)
CIE-LABlab(21.42, 38.46, -44.80)
CIE-LCHlch(21.42, 59.05, 310.65°)
OKLaboklab(33.98% 0.0671 -0.1281)
OKLCHoklch(33.98% 0.145 297.6)
XYZxyz(6.0589, 3.3556, 17.7777)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C77 #50771C
analogous
#1C2377 #431C77 #711C77
triadic
#431C77 #77431C #1C7743
tetradic
#431C77 #771C23 #50771C #1C7771
square
#431C77 #771C23 #50771C #1C7771
split-complementary
#431C77 #77711C #23771C
monochromatic
#0E0619 #271045 #431C77 #5F28A9 #7C3CD1

Accessibility & contrast

On white

12.57
#431C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431C77
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C77#FFFFFF#000000##FFFFFF
##431C771.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431c77;
/* rgb */ color: rgb(67, 28, 119);
/* oklch */ color: oklch(34.0% 0.145 297.6);
Tailwind
colors: {
  custom: {
    50: '#7d5c9f',
    500: '#431c77',
    950: '#000000',
  },
}
SCSS
$custom: #431c77;
$custom-light: #7d5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#431c77",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 265.714,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33978,
    "c": 0.14461,
    "h": 297.6
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#431C77
secondary
#7FAB44
accent
#E5439F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431C77

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

Preview Lab → · Contrast checker → · Palette generator →

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