#431879#431879

#431879 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.151 H 297.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#431879
RGBrgb(67, 24, 121)
HSLhsl(267, 67%, 28%)
HSVhsv(267, 80%, 47%)
CMYKcmyk(44.6%, 80.2%, 0%, 52.5%)
CIE-LABlab(20.93, 40.91, -46.87)
CIE-LCHlch(20.93, 62.22, 311.11°)
OKLaboklab(33.69% 0.0702 -0.1342)
OKLCHoklch(33.69% 0.151 297.6)
XYZxyz(6.0917, 3.2269, 18.3874)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431879 #4E7918
analogous
#181D79 #431879 #731879
triadic
#431879 #794318 #187943
tetradic
#431879 #79181D #4E7918 #187973
square
#431879 #79181D #4E7918 #187973
split-complementary
#431879 #797318 #1D7918
monochromatic
#0E051A #270E46 #431879 #5F22AC #7C35D7

Accessibility & contrast

On white

12.76
#431879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#431879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431879
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431879#FFFFFF#000000##FFFFFF
##4318791.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#353248
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431879;
/* rgb */ color: rgb(67, 24, 121);
/* oklch */ color: oklch(33.7% 0.151 297.6);
Tailwind
colors: {
  custom: {
    50: '#7d5aa1',
    500: '#431879',
    950: '#000000',
  },
}
SCSS
$custom: #431879;
$custom-light: #7d5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#431879",
  "rgb": {
    "r": 67,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 266.598,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33694,
    "c": 0.15145,
    "h": 297.6
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#431879
secondary
#7DAE3F
accent
#EA3E9E
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431879

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

Preview Lab → · Contrast checker → · Palette generator →

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