#431986#431986

#431986 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.165 H 293.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#431986
RGBrgb(67, 25, 134)
HSLhsl(263, 69%, 31%)
HSVhsv(263, 81%, 53%)
CMYKcmyk(50%, 81.3%, 0%, 47.5%)
CIE-LABlab(22.34, 43.98, -52.81)
CIE-LCHlch(22.34, 68.72, 309.79°)
OKLaboklab(35.06% 0.0653 -0.1516)
OKLCHoklch(35.06% 0.165 293.3)
XYZxyz(6.9642, 3.6096, 22.8794)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431986 #5C8619
analogous
#192686 #431986 #791986
triadic
#431986 #864319 #198643
tetradic
#431986 #861926 #5C8619 #198679
square
#431986 #861926 #5C8619 #198679
split-complementary
#431986 #867919 #268619
monochromatic
#0F061F #290F52 #431986 #5D23BA #7B3EDB

Accessibility & contrast

On white

12.20
#431986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#431986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431986
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431986#FFFFFF#000000##FFFFFF
##4319861.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#2E3850
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431986;
/* rgb */ color: rgb(67, 25, 134);
/* oklch */ color: oklch(35.1% 0.165 293.3);
Tailwind
colors: {
  custom: {
    50: '#7f5caa',
    500: '#431986',
    950: '#000000',
  },
}
SCSS
$custom: #431986;
$custom-light: #7f5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#431986",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 263.119,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35056,
    "c": 0.16506,
    "h": 293.3
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#431986
secondary
#8BBA41
accent
#EB3CA8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431986

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

Preview Lab → · Contrast checker → · Palette generator →

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