#423179#423179

#423179 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.3% C 0.118 H 290.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#423179
RGBrgb(66, 49, 121)
HSLhsl(254, 42%, 33%)
HSVhsv(254, 60%, 47%)
CMYKcmyk(45.5%, 59.5%, 0%, 52.5%)
CIE-LABlab(25.97, 26.63, -38.70)
CIE-LCHlch(25.97, 46.98, 304.53°)
OKLaboklab(37.29% 0.041 -0.1103)
OKLCHoklch(37.29% 0.118 290.4)
XYZxyz(6.7953, 4.7351, 18.6414)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423179 #687931
analogous
#314479 #423179 #663179
triadic
#423179 #794231 #317942
tetradic
#423179 #793144 #687931 #317966
square
#423179 #793144 #687931 #317966
split-complementary
#423179 #796631 #447931
monochromatic
#120E22 #2A1F4D #423179 #5A43A5 #7A64C0

Accessibility & contrast

On white

10.79
#423179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #423179
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423179#FFFFFF#000000##FFFFFF
##4231791.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7B
Deuteranopia (green-blind)
#093C77
Tritanopia (blue-blind)
#324150
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #423179;
/* rgb */ color: rgb(66, 49, 121);
/* oklch */ color: oklch(37.3% 0.118 290.4);
Tailwind
colors: {
  custom: {
    50: '#7b6aa0',
    500: '#423179',
    950: '#000000',
  },
}
SCSS
$custom: #423179;
$custom-light: #7b6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#423179",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 254.167,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37288,
    "c": 0.11765,
    "h": 290.4
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#423179
secondary
#96A85E
accent
#D256B5
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #423179

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

Preview Lab → · Contrast checker → · Palette generator →

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