#431979#431979

#431979 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.150 H 297.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#431979
RGBrgb(67, 25, 121)
HSLhsl(266, 66%, 29%)
HSVhsv(266, 79%, 47%)
CMYKcmyk(44.6%, 79.3%, 0%, 52.5%)
CIE-LABlab(21.09, 40.45, -46.61)
CIE-LCHlch(21.09, 61.72, 310.95°)
OKLaboklab(33.81% 0.0694 -0.1334)
OKLCHoklch(33.81% 0.15 297.5)
XYZxyz(6.1127, 3.2689, 18.3944)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431979 #4F7919
analogous
#191F79 #431979 #731979
triadic
#431979 #794319 #197943
tetradic
#431979 #79191F #4F7919 #197973
square
#431979 #79191F #4F7919 #197973
split-complementary
#431979 #797319 #1F7919
monochromatic
#0E0519 #270F46 #431979 #5F23AC #7C37D6

Accessibility & contrast

On white

12.70
#431979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431979
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431979#FFFFFF#000000##FFFFFF
##4319791.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#353348
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431979;
/* rgb */ color: rgb(67, 25, 121);
/* oklch */ color: oklch(33.8% 0.150 297.5);
Tailwind
colors: {
  custom: {
    50: '#7d5ba1',
    500: '#431979',
    950: '#000000',
  },
}
SCSS
$custom: #431979;
$custom-light: #7d5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#431979",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 266.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33805,
    "c": 0.15037,
    "h": 297.5
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#431979
secondary
#7EAE40
accent
#E93F9E
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431979

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

Preview Lab → · Contrast checker → · Palette generator →

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