#431F9D#431F9D

#431F9D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.186 H 286.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#431F9D
RGBrgb(67, 31, 157)
HSLhsl(257, 67%, 37%)
HSVhsv(257, 80%, 62%)
CMYKcmyk(57.3%, 80.3%, 0%, 38.4%)
CIE-LABlab(25.58, 47.71, -61.71)
CIE-LCHlch(25.58, 78.00, 307.71°)
OKLaboklab(38.01% 0.0535 -0.1777)
OKLCHoklch(38.01% 0.186 286.8)
XYZxyz(8.8887, 4.6071, 32.3126)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F9D #799D1F
analogous
#1F3A9D #431F9D #821F9D
triadic
#431F9D #9D431F #1F9D43
tetradic
#431F9D #9D1F3A #799D1F #1F9D82
square
#431F9D #9D1F3A #799D1F #1F9D82
split-complementary
#431F9D #9D821F #3A9D1F
monochromatic
#170B37 #2D156A #431F9D #5929D0 #7F58DE

Accessibility & contrast

On white

10.93
#431F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#431F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F9D
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F9D#FFFFFF#000000##FFFFFF
##431F9D1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#18445E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #431f9d;
/* rgb */ color: rgb(67, 31, 157);
/* oklch */ color: oklch(38.0% 0.186 286.8);
Tailwind
colors: {
  custom: {
    50: '#8260bb',
    500: '#431f9d',
    950: '#000000',
  },
}
SCSS
$custom: #431f9d;
$custom-light: #8260bb;
$custom-dark: #000000;
JSON
{
  "hex": "#431f9d",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 257.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38012,
    "c": 0.18556,
    "h": 286.8
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#431F9D
secondary
#A3C256
accent
#EA3EB9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #431F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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