#423181#423181

#423181 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.129 H 288.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#423181
RGBrgb(66, 49, 129)
HSLhsl(253, 45%, 35%)
HSVhsv(253, 62%, 51%)
CMYKcmyk(48.8%, 62%, 0%, 49.4%)
CIE-LABlab(26.56, 29.14, -42.78)
CIE-LCHlch(26.56, 51.76, 304.26°)
OKLaboklab(37.92% 0.0408 -0.1223)
OKLCHoklch(37.92% 0.129 288.5)
XYZxyz(7.3064, 4.9396, 21.3331)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423181 #708131
analogous
#314881 #423181 #6A3181
triadic
#423181 #814231 #318142
tetradic
#423181 #813148 #708131 #31816A
square
#423181 #813148 #708131 #31816A
split-complementary
#423181 #816A31 #488131
monochromatic
#150F28 #2B2055 #423181 #5942AD #7B67C5

Accessibility & contrast

On white

10.56
#423181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#423181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423181
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423181#FFFFFF#000000##FFFFFF
##4231811.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#2E4354
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #423181;
/* rgb */ color: rgb(66, 49, 129);
/* oklch */ color: oklch(37.9% 0.129 288.5);
Tailwind
colors: {
  custom: {
    50: '#7c6aa6',
    500: '#423181',
    950: '#000000',
  },
}
SCSS
$custom: #423181;
$custom-light: #7c6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#423181",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 252.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37915,
    "c": 0.1289,
    "h": 288.5
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#423181
secondary
#9DAD61
accent
#D553B9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #423181

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

Preview Lab → · Contrast checker → · Palette generator →

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