#431162#431162

#431162 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.134 H 308.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#431162
RGBrgb(67, 17, 98)
HSLhsl(277, 70%, 23%)
HSVhsv(277, 83%, 38%)
CMYKcmyk(31.6%, 82.7%, 0%, 61.6%)
CIE-LABlab(17.81, 38.04, -37.01)
CIE-LCHlch(17.81, 53.08, 315.78°)
OKLaboklab(30.87% 0.083 -0.1052)
OKLCHoklch(30.87% 0.134 308.3)
XYZxyz(4.7193, 2.4761, 11.7822)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431162 #306211
analogous
#1A1162 #431162 #621159
triadic
#431162 #624311 #116243
tetradic
#431162 #621A11 #306211 #115962
square
#431162 #621A11 #306211 #115962
split-complementary
#431162 #596211 #11621A
monochromatic
#12051A #1F082E #431162 #671A96 #8A23CA

Accessibility & contrast

On white

14.04
#431162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#431162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431162
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431162#FFFFFF#000000##FFFFFF
##4311621.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#3E2539
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #431162;
/* rgb */ color: rgb(67, 17, 98);
/* oklch */ color: oklch(30.9% 0.134 308.3);
Tailwind
colors: {
  custom: {
    50: '#7b568f',
    500: '#431162',
    950: '#000000',
  },
}
SCSS
$custom: #431162;
$custom-light: #7b568f;
$custom-dark: #000000;
JSON
{
  "hex": "#431162",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 277.037,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30867,
    "c": 0.13399,
    "h": 308.3
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#431162
secondary
#5B9A34
accent
#ED3B7F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #431162

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

Preview Lab → · Contrast checker → · Palette generator →

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