#431161#431161

#431161 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.133 H 308.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#431161
RGBrgb(67, 17, 97)
HSLhsl(278, 70%, 22%)
HSVhsv(278, 82%, 38%)
CMYKcmyk(30.9%, 82.5%, 0%, 62%)
CIE-LABlab(17.72, 37.80, -36.49)
CIE-LCHlch(17.72, 52.54, 316.01°)
OKLaboklab(30.78% 0.0833 -0.1036)
OKLCHoklch(30.78% 0.133 308.8)
XYZxyz(4.6724, 2.4573, 11.5351)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431161 #2F6111
analogous
#1B1161 #431161 #611157
triadic
#431161 #614311 #116143
tetradic
#431161 #611B11 #2F6111 #115761
square
#431161 #611B11 #2F6111 #115761
split-complementary
#431161 #576111 #11611B
monochromatic
#12051A #1F082D #431161 #671A95 #8B23C9

Accessibility & contrast

On white

14.08
#431161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#431161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431161
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431161#FFFFFF#000000##FFFFFF
##4311611.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#3E2539
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #431161;
/* rgb */ color: rgb(67, 17, 97);
/* oklch */ color: oklch(30.8% 0.133 308.8);
Tailwind
colors: {
  custom: {
    50: '#7b568f',
    500: '#431161',
    950: '#000000',
  },
}
SCSS
$custom: #431161;
$custom-light: #7b568f;
$custom-dark: #000000;
JSON
{
  "hex": "#431161",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 277.5,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3078,
    "c": 0.13294,
    "h": 308.8
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#431161
secondary
#5A9934
accent
#ED3B7E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #431161

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

Preview Lab → · Contrast checker → · Palette generator →

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