#423281#423281

#423281 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.1% C 0.127 H 288.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#423281
RGBrgb(66, 50, 129)
HSLhsl(252, 44%, 35%)
HSVhsv(252, 61%, 51%)
CMYKcmyk(48.8%, 61.2%, 0%, 49.4%)
CIE-LABlab(26.80, 28.51, -42.39)
CIE-LCHlch(26.80, 51.08, 303.92°)
OKLaboklab(38.09% 0.0396 -0.1211)
OKLCHoklch(38.09% 0.127 288.1)
XYZxyz(7.3487, 5.0241, 21.3472)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423281 #718132
analogous
#324981 #423281 #693281
triadic
#423281 #814232 #328142
tetradic
#423281 #813249 #718132 #328169
square
#423281 #813249 #718132 #328169
split-complementary
#423281 #816932 #498132
monochromatic
#151029 #2B2155 #423281 #5943AD #7B69C5

Accessibility & contrast

On white

10.47
#423281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#423281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423281
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423281#FFFFFF#000000##FFFFFF
##4232811.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #423281;
/* rgb */ color: rgb(66, 50, 129);
/* oklch */ color: oklch(38.1% 0.127 288.1);
Tailwind
colors: {
  custom: {
    50: '#7c6aa6',
    500: '#423281',
    950: '#000000',
  },
}
SCSS
$custom: #423281;
$custom-light: #7c6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#423281",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 252.152,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38092,
    "c": 0.12743,
    "h": 288.1
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#423281
secondary
#9DAC62
accent
#D454BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #423281

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

Preview Lab → · Contrast checker → · Palette generator →

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