#431166#431166

#431166 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.138 H 306.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#431166
RGBrgb(67, 17, 102)
HSLhsl(275, 71%, 23%)
HSVhsv(275, 83%, 40%)
CMYKcmyk(34.3%, 83.3%, 0%, 60%)
CIE-LABlab(18.16, 39.02, -39.08)
CIE-LCHlch(18.16, 55.23, 314.95°)
OKLaboklab(31.22% 0.082 -0.1112)
OKLCHoklch(31.22% 0.138 306.4)
XYZxyz(4.9129, 2.5535, 12.8019)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431166 #346611
analogous
#181166 #431166 #66115E
triadic
#431166 #664311 #116643
tetradic
#431166 #661811 #346611 #115E66
square
#431166 #661811 #346611 #115E66
split-complementary
#431166 #5E6611 #116618
monochromatic
#11041A #210832 #431166 #651A9A #8822CF

Accessibility & contrast

On white

13.90
#431166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#431166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431166
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431166#FFFFFF#000000##FFFFFF
##4311661.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#3D273C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #431166;
/* rgb */ color: rgb(67, 17, 102);
/* oklch */ color: oklch(31.2% 0.138 306.4);
Tailwind
colors: {
  custom: {
    50: '#7b5692',
    500: '#431166',
    950: '#000000',
  },
}
SCSS
$custom: #431166;
$custom-light: #7b5692;
$custom-dark: #000000;
JSON
{
  "hex": "#431166",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 275.294,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3122,
    "c": 0.13819,
    "h": 306.4
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#431166
secondary
#609E35
accent
#EE3A84
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #431166

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

Preview Lab → · Contrast checker → · Palette generator →

#431166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva