#431578#431578

#431578 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.153 H 298.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#431578
RGBrgb(67, 21, 120)
HSLhsl(268, 70%, 28%)
HSVhsv(268, 83%, 47%)
CMYKcmyk(44.2%, 82.5%, 0%, 52.9%)
CIE-LABlab(20.38, 41.95, -47.13)
CIE-LCHlch(20.38, 63.10, 311.67°)
OKLaboklab(33.28% 0.0731 -0.1349)
OKLCHoklch(33.28% 0.153 298.4)
XYZxyz(5.9722, 3.0856, 18.0466)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431578 #4A7815
analogous
#151878 #431578 #751578
triadic
#431578 #784315 #157843
tetradic
#431578 #781518 #4A7815 #157875
square
#431578 #781518 #4A7815 #157875
split-complementary
#431578 #787515 #187815
monochromatic
#0F051A #260C44 #431578 #601EAC #7E2DDA

Accessibility & contrast

On white

12.99
#431578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#431578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431578
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431578#FFFFFF#000000##FFFFFF
##4315781.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#363147
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431578;
/* rgb */ color: rgb(67, 21, 120);
/* oklch */ color: oklch(33.3% 0.153 298.4);
Tailwind
colors: {
  custom: {
    50: '#7d59a0',
    500: '#431578',
    950: '#000000',
  },
}
SCSS
$custom: #431578;
$custom-light: #7d59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#431578",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 267.879,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33283,
    "c": 0.15344,
    "h": 298.4
  },
  "luminance": 0.03086
}

Semantic roles & 50–950 ramp

primary
#431578
secondary
#78AE3B
accent
#ED3B9A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431578

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

Preview Lab → · Contrast checker → · Palette generator →

#431578 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva