#431FB2#431FB2

#431FB2 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.2% C 0.209 H 282.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#431FB2
RGBrgb(67, 31, 178)
HSLhsl(255, 70%, 41%)
HSVhsv(255, 83%, 70%)
CMYKcmyk(62.4%, 82.6%, 0%, 30.2%)
CIE-LABlab(27.81, 53.63, -70.72)
CIE-LCHlch(27.81, 88.75, 307.17°)
OKLaboklab(40.21% 0.0466 -0.204)
OKLCHoklch(40.21% 0.209 282.9)
XYZxyz(10.8381, 5.3868, 42.5795)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431FB2 #8EB21F
analogous
#1F44B2 #431FB2 #8C1FB2
triadic
#431FB2 #B2431F #1FB243
tetradic
#431FB2 #B21F44 #8EB21F #1FB28C
square
#431FB2 #B21F44 #8EB21F #1FB28C
split-complementary
#431FB2 #B28C1F #44B21F
monochromatic
#1C0D4A #2F167E #431FB2 #5C33DB #8667E5

Accessibility & contrast

On white

10.11
#431FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431FB2
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431FB2#FFFFFF#000000##FFFFFF
##431FB21.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B6
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #431fb2;
/* rgb */ color: rgb(67, 31, 178);
/* oklch */ color: oklch(40.2% 0.209 282.9);
Tailwind
colors: {
  custom: {
    50: '#8661ca',
    500: '#431fb2',
    950: '#000000',
  },
}
SCSS
$custom: #431fb2;
$custom-light: #8661ca;
$custom-dark: #000000;
JSON
{
  "hex": "#431fb2",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 178
  },
  "hsl": {
    "h": 254.694,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40211,
    "c": 0.2092,
    "h": 282.9
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#431FB2
secondary
#B1CA63
accent
#ED3BC1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #431FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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