#431F9F#431F9F

#431F9F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.188 H 286.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#431F9F
RGBrgb(67, 31, 159)
HSLhsl(257, 67%, 37%)
HSVhsv(257, 81%, 62%)
CMYKcmyk(57.9%, 80.5%, 0%, 37.6%)
CIE-LABlab(25.79, 48.28, -62.59)
CIE-LCHlch(25.79, 79.04, 307.65°)
OKLaboklab(38.22% 0.0529 -0.1802)
OKLCHoklch(38.22% 0.188 286.4)
XYZxyz(9.0609, 4.6759, 33.2193)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F9F #7B9F1F
analogous
#1F3B9F #431F9F #831F9F
triadic
#431F9F #9F431F #1F9F43
tetradic
#431F9F #9F1F3B #7B9F1F #1F9F83
square
#431F9F #9F1F3B #7B9F1F #1F9F83
split-complementary
#431F9F #9F831F #3B9F1F
monochromatic
#180B39 #2D156C #431F9F #5929D2 #7F5ADF

Accessibility & contrast

On white

10.85
#431F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#431F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F9F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F9F#FFFFFF#000000##FFFFFF
##431F9F1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#15455F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #431f9f;
/* rgb */ color: rgb(67, 31, 159);
/* oklch */ color: oklch(38.2% 0.188 286.4);
Tailwind
colors: {
  custom: {
    50: '#8360bd',
    500: '#431f9f',
    950: '#000000',
  },
}
SCSS
$custom: #431f9f;
$custom-light: #8360bd;
$custom-dark: #000000;
JSON
{
  "hex": "#431f9f",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 256.875,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38217,
    "c": 0.18785,
    "h": 286.4
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#431F9F
secondary
#A4C357
accent
#EA3EBA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #431F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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