#431C83#431C83

#431C83 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.159 H 293.7°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#431C83
RGBrgb(67, 28, 131)
HSLhsl(263, 65%, 31%)
HSVhsv(263, 79%, 51%)
CMYKcmyk(48.9%, 78.6%, 0%, 48.6%)
CIE-LABlab(22.52, 41.78, -50.61)
CIE-LCHlch(22.52, 65.63, 309.54°)
OKLaboklab(35.1% 0.0638 -0.1452)
OKLCHoklch(35.1% 0.159 293.7)
XYZxyz(6.8256, 3.6623, 21.8156)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C83 #5C831C
analogous
#1C2983 #431C83 #761C83
triadic
#431C83 #83431C #1C8343
tetradic
#431C83 #831C29 #5C831C #1C8376
square
#431C83 #831C29 #5C831C #1C8376
split-complementary
#431C83 #83761C #29831C
monochromatic
#0F061E #291151 #431C83 #5D27B5 #7B43D7

Accessibility & contrast

On white

12.12
#431C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#431C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431C83
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C83#FFFFFF#000000##FFFFFF
##431C831.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#30384F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431c83;
/* rgb */ color: rgb(67, 28, 131);
/* oklch */ color: oklch(35.1% 0.159 293.7);
Tailwind
colors: {
  custom: {
    50: '#7e5da8',
    500: '#431c83',
    950: '#000000',
  },
}
SCSS
$custom: #431c83;
$custom-light: #7e5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#431c83",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 262.718,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35097,
    "c": 0.1586,
    "h": 293.7
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#431C83
secondary
#8BB645
accent
#E840A8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431C83

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

Preview Lab → · Contrast checker → · Palette generator →

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