#431C81#431C81

#431C81 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.156 H 294.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#431C81
RGBrgb(67, 28, 129)
HSLhsl(263, 64%, 31%)
HSVhsv(263, 78%, 51%)
CMYKcmyk(48.1%, 78.3%, 0%, 49.4%)
CIE-LABlab(22.33, 41.23, -49.66)
CIE-LCHlch(22.33, 64.55, 309.70°)
OKLaboklab(34.91% 0.0644 -0.1424)
OKLCHoklch(34.91% 0.156 294.3)
XYZxyz(6.6914, 3.6086, 21.1086)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C81 #5A811C
analogous
#1C2881 #431C81 #751C81
triadic
#431C81 #81431C #1C8143
tetradic
#431C81 #811C28 #5A811C #1C8175
square
#431C81 #811C28 #5A811C #1C8175
split-complementary
#431C81 #81751C #28811C
monochromatic
#0F061C #29114F #431C81 #5D27B3 #7B42D6

Accessibility & contrast

On white

12.20
#431C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#431C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431C81
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C81#FFFFFF#000000##FFFFFF
##431C811.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#31374D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431c81;
/* rgb */ color: rgb(67, 28, 129);
/* oklch */ color: oklch(34.9% 0.156 294.3);
Tailwind
colors: {
  custom: {
    50: '#7e5da6',
    500: '#431c81',
    950: '#000000',
  },
}
SCSS
$custom: #431c81;
$custom-light: #7e5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#431c81",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 263.168,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34906,
    "c": 0.15628,
    "h": 294.3
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#431C81
secondary
#89B444
accent
#E740A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #431C81

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

Preview Lab → · Contrast checker → · Palette generator →

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