#431978#431978

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

Color values

HEX#431978
RGBrgb(67, 25, 120)
HSLhsl(267, 66%, 28%)
HSVhsv(267, 79%, 47%)
CMYKcmyk(44.2%, 79.2%, 0%, 52.9%)
CIE-LABlab(21.00, 40.18, -46.13)
CIE-LCHlch(21.00, 61.17, 311.06°)
OKLaboklab(33.71% 0.0696 -0.132)
OKLCHoklch(33.71% 0.149 297.8)
XYZxyz(6.0517, 3.2445, 18.0731)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431978 #4E7819
analogous
#191F78 #431978 #721978
triadic
#431978 #784319 #197843
tetradic
#431978 #78191F #4E7819 #197872
square
#431978 #78191F #4E7819 #197872
split-complementary
#431978 #787219 #1F7819
monochromatic
#0E0519 #270E45 #431978 #5F24AB #7C36D5

Accessibility & contrast

On white

12.73
#431978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431978
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431978#FFFFFF#000000##FFFFFF
##4319781.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431978;
/* rgb */ color: rgb(67, 25, 120);
/* oklch */ color: oklch(33.7% 0.149 297.8);
Tailwind
colors: {
  custom: {
    50: '#7d5ba0',
    500: '#431978',
    950: '#000000',
  },
}
SCSS
$custom: #431978;
$custom-light: #7d5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#431978",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 266.526,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33712,
    "c": 0.14924,
    "h": 297.8
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#431978
secondary
#7DAD40
accent
#E83F9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431978

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

Preview Lab → · Contrast checker → · Palette generator →

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