#431C82#431C82

#431C82 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.157 H 294.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#431C82
RGBrgb(67, 28, 130)
HSLhsl(263, 65%, 31%)
HSVhsv(263, 78%, 51%)
CMYKcmyk(48.5%, 78.5%, 0%, 49%)
CIE-LABlab(22.43, 41.51, -50.14)
CIE-LCHlch(22.43, 65.09, 309.62°)
OKLaboklab(35% 0.0641 -0.1438)
OKLCHoklch(35% 0.157 294)
XYZxyz(6.7582, 3.6353, 21.4604)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C82 #5B821C
analogous
#1C2882 #431C82 #761C82
triadic
#431C82 #82431C #1C8243
tetradic
#431C82 #821C28 #5B821C #1C8276
square
#431C82 #821C28 #5B821C #1C8276
split-complementary
#431C82 #82761C #28821C
monochromatic
#0F061D #291150 #431C82 #5D27B4 #7B42D6

Accessibility & contrast

On white

12.16
#431C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431C82
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C82#FFFFFF#000000##FFFFFF
##431C821.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#30384E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431c82;
/* rgb */ color: rgb(67, 28, 130);
/* oklch */ color: oklch(35.0% 0.157 294.0);
Tailwind
colors: {
  custom: {
    50: '#7e5da7',
    500: '#431c82',
    950: '#000000',
  },
}
SCSS
$custom: #431c82;
$custom-light: #7e5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#431c82",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 262.941,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35001,
    "c": 0.15744,
    "h": 294
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #431C82

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

Preview Lab → · Contrast checker → · Palette generator →

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