#431DC2#431DC2

#431DC2 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.8% C 0.228 H 280.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#431DC2
RGBrgb(67, 29, 194)
HSLhsl(254, 74%, 44%)
HSVhsv(254, 85%, 76%)
CMYKcmyk(65.5%, 85.1%, 0%, 23.9%)
CIE-LABlab(29.33, 58.82, -77.70)
CIE-LCHlch(29.33, 97.45, 307.13°)
OKLaboklab(41.77% 0.0419 -0.2242)
OKLCHoklch(41.77% 0.228 280.6)
XYZxyz(12.4886, 5.9661, 51.5219)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431DC2 #9CC21D
analogous
#1D49C2 #431DC2 #951DC2
triadic
#431DC2 #C2431D #1DC243
tetradic
#431DC2 #C21D49 #9CC21D #1DC295
square
#431DC2 #C21D49 #9CC21D #1DC295
split-complementary
#431DC2 #C2951D #49C21D
monochromatic
#1E0D58 #31158D #431DC2 #613BE2 #8C70EA

Accessibility & contrast

On white

9.57
#431DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#431DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431DC2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431DC2#FFFFFF#000000##FFFFFF
##431DC21.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC6
Deuteranopia (green-blind)
#003FBF
Tritanopia (blue-blind)
#005373
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #431dc2;
/* rgb */ color: rgb(67, 29, 194);
/* oklch */ color: oklch(41.8% 0.228 280.6);
Tailwind
colors: {
  custom: {
    50: '#8962d6',
    500: '#431dc2',
    950: '#000000',
  },
}
SCSS
$custom: #431dc2;
$custom-light: #8962d6;
$custom-dark: #000000;
JSON
{
  "hex": "#431dc2",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 194
  },
  "hsl": {
    "h": 253.818,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.22811,
    "h": 280.6
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#431DC2
secondary
#B9D06B
accent
#F137C6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #431DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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