#431168#431168

#431168 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.140 H 305.5°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#431168
RGBrgb(67, 17, 104)
HSLhsl(274, 72%, 24%)
HSVhsv(274, 84%, 41%)
CMYKcmyk(35.6%, 83.7%, 0%, 59.2%)
CIE-LABlab(18.34, 39.51, -40.11)
CIE-LCHlch(18.34, 56.30, 314.57°)
OKLaboklab(31.4% 0.0814 -0.1142)
OKLCHoklch(31.4% 0.14 305.5)
XYZxyz(5.0133, 2.5937, 13.3305)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431168 #366811
analogous
#171168 #431168 #681161
triadic
#431168 #684311 #116843
tetradic
#431168 #681711 #366811 #116168
square
#431168 #681711 #366811 #116168
split-complementary
#431168 #616811 #116817
monochromatic
#11041A #210833 #431168 #651A9D #8722D1

Accessibility & contrast

On white

13.83
#431168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#431168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431168
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431168#FFFFFF#000000##FFFFFF
##4311681.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#3C283D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #431168;
/* rgb */ color: rgb(67, 17, 104);
/* oklch */ color: oklch(31.4% 0.140 305.5);
Tailwind
colors: {
  custom: {
    50: '#7c5694',
    500: '#431168',
    950: '#000000',
  },
}
SCSS
$custom: #431168;
$custom-light: #7c5694;
$custom-dark: #000000;
JSON
{
  "hex": "#431168",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 274.483,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.314,
    "c": 0.14029,
    "h": 305.5
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#431168
secondary
#62A035
accent
#EF3986
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #431168

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

Preview Lab → · Contrast checker → · Palette generator →

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