#423372#423372

#423372 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.1% C 0.104 H 291.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#423372
RGBrgb(66, 51, 114)
HSLhsl(254, 38%, 32%)
HSVhsv(254, 55%, 45%)
CMYKcmyk(42.1%, 55.3%, 0%, 55.3%)
CIE-LABlab(25.98, 23.16, -34.22)
CIE-LCHlch(25.98, 41.33, 304.09°)
OKLaboklab(37.14% 0.0382 -0.0971)
OKLCHoklch(37.14% 0.104 291.5)
XYZxyz(6.4670, 4.7406, 16.4906)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423372 #637233
analogous
#334372 #423372 #623372
triadic
#423372 #724233 #337242
tetradic
#423372 #723343 #637233 #337262
square
#423372 #723343 #637233 #337262
split-complementary
#423372 #726233 #437233
monochromatic
#110D1D #2A2048 #423372 #5A469C #7965BA

Accessibility & contrast

On white

10.78
#423372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#423372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423372
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423372#FFFFFF#000000##FFFFFF
##4233721.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F74
Deuteranopia (green-blind)
#1A3C71
Tritanopia (blue-blind)
#35404D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #423372;
/* rgb */ color: rgb(66, 51, 114);
/* oklch */ color: oklch(37.1% 0.104 291.5);
Tailwind
colors: {
  custom: {
    50: '#7a6b9b',
    500: '#423372',
    950: '#000000',
  },
}
SCSS
$custom: #423372;
$custom-light: #7a6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#423372",
  "rgb": {
    "r": 66,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 254.286,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.10434,
    "h": 291.5
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#423372
secondary
#92A25F
accent
#CE5AB2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #423372

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

Preview Lab → · Contrast checker → · Palette generator →

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