#431C87#431C87

#431C87 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.163 H 292.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#431C87
RGBrgb(67, 28, 135)
HSLhsl(262, 66%, 32%)
HSVhsv(262, 79%, 53%)
CMYKcmyk(50.4%, 79.3%, 0%, 47.1%)
CIE-LABlab(22.91, 42.90, -52.50)
CIE-LCHlch(22.91, 67.80, 309.25°)
OKLaboklab(35.48% 0.0627 -0.1507)
OKLCHoklch(35.48% 0.163 292.6)
XYZxyz(7.1019, 3.7728, 23.2710)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C87 #60871C
analogous
#1C2B87 #431C87 #791C87
triadic
#431C87 #87431C #1C8743
tetradic
#431C87 #871C2B #60871C #1C8779
square
#431C87 #871C2B #60871C #1C8779
split-complementary
#431C87 #87791C #2B871C
monochromatic
#110722 #2A1154 #431C87 #5C27BA #7B45D8

Accessibility & contrast

On white

11.97
#431C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#431C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431C87
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C87#FFFFFF#000000##FFFFFF
##431C871.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#2D3A51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #431c87;
/* rgb */ color: rgb(67, 28, 135);
/* oklch */ color: oklch(35.5% 0.163 292.6);
Tailwind
colors: {
  custom: {
    50: '#7f5dab',
    500: '#431c87',
    950: '#000000',
  },
}
SCSS
$custom: #431c87;
$custom-light: #7f5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#431c87",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 261.869,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35482,
    "c": 0.16321,
    "h": 292.6
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#431C87
secondary
#8FBA45
accent
#E93FAB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431C87

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

Preview Lab → · Contrast checker → · Palette generator →

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