#431BB4#431BB4

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

Color values

HEX#431BB4
RGBrgb(67, 27, 180)
HSLhsl(256, 74%, 41%)
HSVhsv(256, 85%, 71%)
CMYKcmyk(62.8%, 85%, 0%, 29.4%)
CIE-LABlab(27.50, 55.76, -72.44)
CIE-LCHlch(27.50, 91.41, 307.59°)
OKLaboklab(40.06% 0.0477 -0.2089)
OKLCHoklch(40.06% 0.214 282.9)
XYZxyz(10.9423, 5.2717, 43.6121)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431BB4 #8CB41B
analogous
#1B40B4 #431BB4 #8F1BB4
triadic
#431BB4 #B4431B #1BB443
tetradic
#431BB4 #B41B40 #8CB41B #1BB48F
square
#431BB4 #B41B40 #8CB41B #1BB48F
split-complementary
#431BB4 #B48F1B #40B41B
monochromatic
#1B0B4A #2F137F #431BB4 #5B2DDF #8562E7

Accessibility & contrast

On white

10.22
#431BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#431BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431BB4
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431BB4#FFFFFF#000000##FFFFFF
##431BB41.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#004C6B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #431bb4;
/* rgb */ color: rgb(67, 27, 180);
/* oklch */ color: oklch(40.1% 0.214 282.9);
Tailwind
colors: {
  custom: {
    50: '#8760cc',
    500: '#431bb4',
    950: '#000000',
  },
}
SCSS
$custom: #431bb4;
$custom-light: #8760cc;
$custom-dark: #000000;
JSON
{
  "hex": "#431bb4",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 255.686,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40061,
    "c": 0.21428,
    "h": 282.9
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#431BB4
secondary
#AFCC5F
accent
#F137C0
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #431BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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