#431989#431989

#431989 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.168 H 292.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#431989
RGBrgb(67, 25, 137)
HSLhsl(263, 69%, 32%)
HSVhsv(263, 82%, 54%)
CMYKcmyk(51.1%, 81.8%, 0%, 46.3%)
CIE-LABlab(22.63, 44.80, -54.20)
CIE-LCHlch(22.63, 70.32, 309.58°)
OKLaboklab(35.35% 0.0643 -0.1556)
OKLCHoklch(35.35% 0.168 292.5)
XYZxyz(7.1765, 3.6944, 23.9970)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431989 #5F8919
analogous
#192789 #431989 #7B1989
triadic
#431989 #894319 #198943
tetradic
#431989 #891927 #5F8919 #19897B
square
#431989 #891927 #5F8919 #19897B
split-complementary
#431989 #897B19 #278919
monochromatic
#100621 #2A1055 #431989 #5C22BD #7B40DC

Accessibility & contrast

On white

12.08
#431989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#431989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431989
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431989#FFFFFF#000000##FFFFFF
##4319891.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#2C3951
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431989;
/* rgb */ color: rgb(67, 25, 137);
/* oklch */ color: oklch(35.4% 0.168 292.5);
Tailwind
colors: {
  custom: {
    50: '#7f5cac',
    500: '#431989',
    950: '#000000',
  },
}
SCSS
$custom: #431989;
$custom-light: #7f5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#431989",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 262.5,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.16842,
    "h": 292.5
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#431989
secondary
#8EBC41
accent
#EC3CAA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431989

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

Preview Lab → · Contrast checker → · Palette generator →

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