#431681#431681

#431681 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.162 H 295.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#431681
RGBrgb(67, 22, 129)
HSLhsl(265, 71%, 30%)
HSVhsv(265, 83%, 51%)
CMYKcmyk(48.1%, 82.9%, 0%, 49.4%)
CIE-LABlab(21.40, 43.91, -51.19)
CIE-LCHlch(21.40, 67.44, 310.63°)
OKLaboklab(34.26% 0.0693 -0.1468)
OKLCHoklch(34.26% 0.162 295.3)
XYZxyz(6.5630, 3.3519, 21.0658)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431681 #548116
analogous
#161E81 #431681 #791681
triadic
#431681 #814316 #168143
tetradic
#431681 #81161E #548116 #168179
square
#431681 #81161E #548116 #168179
split-complementary
#431681 #817916 #1E8116
monochromatic
#0E041A #280D4D #431681 #5E1FB5 #7B35DD

Accessibility & contrast

On white

12.57
#431681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#431681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431681
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431681#FFFFFF#000000##FFFFFF
##4316811.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#31354C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431681;
/* rgb */ color: rgb(67, 22, 129);
/* oklch */ color: oklch(34.3% 0.162 295.3);
Tailwind
colors: {
  custom: {
    50: '#7e5aa7',
    500: '#431681',
    950: '#000000',
  },
}
SCSS
$custom: #431681;
$custom-light: #7e5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#431681",
  "rgb": {
    "r": 67,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 265.234,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34257,
    "c": 0.16234,
    "h": 295.3
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#431681
secondary
#83B63D
accent
#EE3AA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #431681

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

Preview Lab → · Contrast checker → · Palette generator →

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