#431EB4#431EB4

#431EB4 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.3% C 0.212 H 282.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#431EB4
RGBrgb(67, 30, 180)
HSLhsl(255, 71%, 41%)
HSVhsv(255, 83%, 71%)
CMYKcmyk(62.8%, 83.3%, 0%, 29.4%)
CIE-LABlab(27.89, 54.59, -71.78)
CIE-LCHlch(27.89, 90.18, 307.25°)
OKLaboklab(40.33% 0.0464 -0.207)
OKLCHoklch(40.33% 0.212 282.6)
XYZxyz(11.0147, 5.4163, 43.6362)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431EB4 #8FB41E
analogous
#1E44B4 #431EB4 #8E1EB4
triadic
#431EB4 #B4431E #1EB443
tetradic
#431EB4 #B41E44 #8FB41E #1EB48E
square
#431EB4 #B41E44 #8FB41E #1EB48E
split-complementary
#431EB4 #B48E1E #44B41E
monochromatic
#1C0D4B #2F1580 #431EB4 #5C32DD #8667E6

Accessibility & contrast

On white

10.08
#431EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#431EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431EB4
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431EB4#FFFFFF#000000##FFFFFF
##431EB41.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #431eb4;
/* rgb */ color: rgb(67, 30, 180);
/* oklch */ color: oklch(40.3% 0.212 282.6);
Tailwind
colors: {
  custom: {
    50: '#8661cc',
    500: '#431eb4',
    950: '#000000',
  },
}
SCSS
$custom: #431eb4;
$custom-light: #8661cc;
$custom-dark: #000000;
JSON
{
  "hex": "#431eb4",
  "rgb": {
    "r": 67,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 254.8,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.21216,
    "h": 282.6
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#431EB4
secondary
#B1CB63
accent
#EE3AC2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #431EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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