#431988#431988

#431988 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.167 H 292.7°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#431988
RGBrgb(67, 25, 136)
HSLhsl(263, 69%, 32%)
HSVhsv(263, 82%, 53%)
CMYKcmyk(50.7%, 81.6%, 0%, 46.7%)
CIE-LABlab(22.53, 44.53, -53.73)
CIE-LCHlch(22.53, 69.79, 309.65°)
OKLaboklab(35.25% 0.0647 -0.1543)
OKLCHoklch(35.25% 0.167 292.7)
XYZxyz(7.1051, 3.6659, 23.6210)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431988 #5E8819
analogous
#192688 #431988 #7B1988
triadic
#431988 #884319 #198843
tetradic
#431988 #881926 #5E8819 #19887B
square
#431988 #881926 #5E8819 #19887B
split-complementary
#431988 #887B19 #268819
monochromatic
#100621 #2A0F54 #431988 #5C23BC #7B40DC

Accessibility & contrast

On white

12.12
#431988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#431988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431988
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431988#FFFFFF#000000##FFFFFF
##4319881.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#2C3951
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431988;
/* rgb */ color: rgb(67, 25, 136);
/* oklch */ color: oklch(35.3% 0.167 292.7);
Tailwind
colors: {
  custom: {
    50: '#7f5cac',
    500: '#431988',
    950: '#000000',
  },
}
SCSS
$custom: #431988;
$custom-light: #7f5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#431988",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 262.703,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35254,
    "c": 0.1673,
    "h": 292.7
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#431988
secondary
#8DBB41
accent
#EC3CA9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431988

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

Preview Lab → · Contrast checker → · Palette generator →

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