#431B8E#431B8E

#431B8E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.172 H 290.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#431B8E
RGBrgb(67, 27, 142)
HSLhsl(261, 68%, 33%)
HSVhsv(261, 81%, 56%)
CMYKcmyk(52.8%, 81%, 0%, 44.3%)
CIE-LABlab(23.44, 45.30, -56.00)
CIE-LCHlch(23.44, 72.03, 308.97°)
OKLaboklab(36.06% 0.0612 -0.1609)
OKLCHoklch(36.06% 0.172 290.8)
XYZxyz(7.5878, 3.9298, 25.9447)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B8E #668E1B
analogous
#1B2C8E #431B8E #7C1B8E
triadic
#431B8E #8E431B #1B8E43
tetradic
#431B8E #8E1B2C #668E1B #1B8E7C
square
#431B8E #8E1B2C #668E1B #1B8E7C
split-complementary
#431B8E #8E7C1B #2C8E1B
monochromatic
#120727 #2B115B #431B8E #5B25C1 #7B47DC

Accessibility & contrast

On white

11.76
#431B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#431B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B8E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B8E#FFFFFF#000000##FFFFFF
##431B8E1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#283C55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #431b8e;
/* rgb */ color: rgb(67, 27, 142);
/* oklch */ color: oklch(36.1% 0.172 290.8);
Tailwind
colors: {
  custom: {
    50: '#805db0',
    500: '#431b8e',
    950: '#000000',
  },
}
SCSS
$custom: #431b8e;
$custom-light: #805db0;
$custom-dark: #000000;
JSON
{
  "hex": "#431b8e",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 260.87,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36063,
    "c": 0.17218,
    "h": 290.8
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#431B8E
secondary
#94BE47
accent
#EB3DAE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #431B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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