#431EB2#431EB2

#431EB2 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 40.1% C 0.210 H 282.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#431EB2
RGBrgb(67, 30, 178)
HSLhsl(255, 71%, 41%)
HSVhsv(255, 83%, 70%)
CMYKcmyk(62.4%, 83.1%, 0%, 30.2%)
CIE-LABlab(27.67, 54.04, -70.95)
CIE-LCHlch(27.67, 89.19, 307.29°)
OKLaboklab(40.12% 0.047 -0.2046)
OKLCHoklch(40.12% 0.21 282.9)
XYZxyz(10.8124, 5.3354, 42.5709)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431EB2 #8DB21E
analogous
#1E43B2 #431EB2 #8D1EB2
triadic
#431EB2 #B2431E #1EB243
tetradic
#431EB2 #B21E43 #8DB21E #1EB28D
square
#431EB2 #B21E43 #8DB21E #1EB28D
split-complementary
#431EB2 #B28D1E #43B21E
monochromatic
#1C0C49 #2F157E #431EB2 #5C31DC #8565E5

Accessibility & contrast

On white

10.16
#431EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#431EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431EB2
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431EB2#FFFFFF#000000##FFFFFF
##431EB21.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #431eb2;
/* rgb */ color: rgb(67, 30, 178);
/* oklch */ color: oklch(40.1% 0.210 282.9);
Tailwind
colors: {
  custom: {
    50: '#8661ca',
    500: '#431eb2',
    950: '#000000',
  },
}
SCSS
$custom: #431eb2;
$custom-light: #8661ca;
$custom-dark: #000000;
JSON
{
  "hex": "#431eb2",
  "rgb": {
    "r": 67,
    "g": 30,
    "b": 178
  },
  "hsl": {
    "h": 255,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.20996,
    "h": 282.9
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#431EB2
secondary
#B0CA62
accent
#EE3AC1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #431EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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