#431FB4#431FB4

#431FB4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.211 H 282.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#431FB4
RGBrgb(67, 31, 180)
HSLhsl(254, 71%, 41%)
HSVhsv(254, 83%, 71%)
CMYKcmyk(62.8%, 82.8%, 0%, 29.4%)
CIE-LABlab(28.03, 54.18, -71.55)
CIE-LCHlch(28.03, 89.75, 307.13°)
OKLaboklab(40.43% 0.0459 -0.2064)
OKLCHoklch(40.43% 0.211 282.5)
XYZxyz(11.0404, 5.4678, 43.6448)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431FB4 #90B41F
analogous
#1F45B4 #431FB4 #8E1FB4
triadic
#431FB4 #B4431F #1FB443
tetradic
#431FB4 #B41F45 #90B41F #1FB48E
square
#431FB4 #B41F45 #90B41F #1FB48E
split-complementary
#431FB4 #B48E1F #45B41F
monochromatic
#1C0D4C #301680 #431FB4 #5D34DC #8668E5

Accessibility & contrast

On white

10.03
#431FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#431FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431FB4
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431FB4#FFFFFF#000000##FFFFFF
##431FB41.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431fb4;
/* rgb */ color: rgb(67, 31, 180);
/* oklch */ color: oklch(40.4% 0.211 282.5);
Tailwind
colors: {
  custom: {
    50: '#8662cc',
    500: '#431fb4',
    950: '#000000',
  },
}
SCSS
$custom: #431fb4;
$custom-light: #8662cc;
$custom-dark: #000000;
JSON
{
  "hex": "#431fb4",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 254.497,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40426,
    "c": 0.21143,
    "h": 282.5
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#431FB4
secondary
#B2CB64
accent
#ED3AC2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #431FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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