#431F9E#431F9E

#431F9E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.187 H 286.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#431F9E
RGBrgb(67, 31, 158)
HSLhsl(257, 67%, 37%)
HSVhsv(257, 80%, 62%)
CMYKcmyk(57.6%, 80.4%, 0%, 38%)
CIE-LABlab(25.69, 47.99, -62.15)
CIE-LCHlch(25.69, 78.52, 307.68°)
OKLaboklab(38.12% 0.0532 -0.179)
OKLCHoklch(38.12% 0.187 286.6)
XYZxyz(8.9744, 4.6414, 32.7641)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F9E #7A9E1F
analogous
#1F3A9E #431F9E #831F9E
triadic
#431F9E #9E431F #1F9E43
tetradic
#431F9E #9E1F3A #7A9E1F #1F9E83
square
#431F9E #9E1F3A #7A9E1F #1F9E83
split-complementary
#431F9E #9E831F #3A9E1F
monochromatic
#180B38 #2D156B #431F9E #5929D1 #7F59DE

Accessibility & contrast

On white

10.89
#431F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#431F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F9E
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F9E#FFFFFF#000000##FFFFFF
##431F9E1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#16455F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #431f9e;
/* rgb */ color: rgb(67, 31, 158);
/* oklch */ color: oklch(38.1% 0.187 286.6);
Tailwind
colors: {
  custom: {
    50: '#8260bc',
    500: '#431f9e',
    950: '#000000',
  },
}
SCSS
$custom: #431f9e;
$custom-light: #8260bc;
$custom-dark: #000000;
JSON
{
  "hex": "#431f9e",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 257.008,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38115,
    "c": 0.1867,
    "h": 286.6
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#431F9E
secondary
#A4C256
accent
#EA3EB9
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #431F9E

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

Preview Lab → · Contrast checker → · Palette generator →

#431F9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva