#431CA5#431CA5

#431CA5 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.197 H 285.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#431CA5
RGBrgb(67, 28, 165)
HSLhsl(257, 71%, 38%)
HSVhsv(257, 83%, 65%)
CMYKcmyk(59.4%, 83%, 0%, 35.3%)
CIE-LABlab(25.98, 51.25, -65.92)
CIE-LCHlch(25.98, 83.50, 307.86°)
OKLaboklab(38.54% 0.0526 -0.1899)
OKLCHoklch(38.54% 0.197 285.5)
XYZxyz(9.5195, 4.7398, 36.0033)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431CA5 #7EA51C
analogous
#1C3AA5 #431CA5 #871CA5
triadic
#431CA5 #A5431C #1CA543
tetradic
#431CA5 #A51C3A #7EA51C #1CA587
square
#431CA5 #A51C3A #7EA51C #1CA587
split-complementary
#431CA5 #A5871C #3AA51C
monochromatic
#190A3C #2E1371 #431CA5 #5825D9 #8059E3

Accessibility & contrast

On white

10.78
#431CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#431CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431CA5
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431CA5#FFFFFF#000000##FFFFFF
##431CA51.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#084662
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #431ca5;
/* rgb */ color: rgb(67, 28, 165);
/* oklch */ color: oklch(38.5% 0.197 285.5);
Tailwind
colors: {
  custom: {
    50: '#845fc1',
    500: '#431ca5',
    950: '#000000',
  },
}
SCSS
$custom: #431ca5;
$custom-light: #845fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#431ca5",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 165
  },
  "hsl": {
    "h": 257.08,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38537,
    "c": 0.1971,
    "h": 285.5
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#431CA5
secondary
#A6C656
accent
#EE3ABB
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #431CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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