#423271#423271

#423271 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.9% C 0.104 H 292.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#423271
RGBrgb(66, 50, 113)
HSLhsl(255, 39%, 32%)
HSVhsv(255, 56%, 44%)
CMYKcmyk(41.6%, 55.8%, 0%, 55.7%)
CIE-LABlab(25.66, 23.51, -34.11)
CIE-LCHlch(25.66, 41.42, 304.58°)
OKLaboklab(36.88% 0.0395 -0.0968)
OKLCHoklch(36.88% 0.105 292.2)
XYZxyz(6.3672, 4.6315, 16.1781)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423271 #617132
analogous
#324271 #423271 #623271
triadic
#423271 #714232 #327142
tetradic
#423271 #713242 #617132 #327162
square
#423271 #713242 #617132 #327162
split-complementary
#423271 #716232 #427132
monochromatic
#100C1C #291F47 #423271 #5B459B #7963BA

Accessibility & contrast

On white

10.90
#423271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#423271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423271
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423271#FFFFFF#000000##FFFFFF
##4232711.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#193C70
Tritanopia (blue-blind)
#363F4C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #423271;
/* rgb */ color: rgb(66, 50, 113);
/* oklch */ color: oklch(36.9% 0.104 292.2);
Tailwind
colors: {
  custom: {
    50: '#796a9a',
    500: '#423271',
    950: '#000000',
  },
}
SCSS
$custom: #423271;
$custom-light: #796a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#423271",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 255.238,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36881,
    "c": 0.1045,
    "h": 292.2
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#423271
secondary
#90A25D
accent
#CF59B1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #423271

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

Preview Lab → · Contrast checker → · Palette generator →

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