#423178#423178

#423178 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.2% C 0.116 H 290.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#423178
RGBrgb(66, 49, 120)
HSLhsl(254, 42%, 33%)
HSVhsv(254, 59%, 47%)
CMYKcmyk(45%, 59.2%, 0%, 52.9%)
CIE-LABlab(25.89, 26.32, -38.18)
CIE-LCHlch(25.89, 46.37, 304.58°)
OKLaboklab(37.21% 0.041 -0.1087)
OKLCHoklch(37.21% 0.116 290.7)
XYZxyz(6.7343, 4.7107, 18.3201)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423178 #677831
analogous
#314378 #423178 #653178
triadic
#423178 #784231 #317842
tetradic
#423178 #783143 #677831 #317865
square
#423178 #783143 #677831 #317865
split-complementary
#423178 #786531 #437831
monochromatic
#120E21 #2A1F4D #423178 #5A43A3 #7A64C0

Accessibility & contrast

On white

10.81
#423178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#423178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423178
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423178#FFFFFF#000000##FFFFFF
##4231781.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7A
Deuteranopia (green-blind)
#0C3C76
Tritanopia (blue-blind)
#32404F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #423178;
/* rgb */ color: rgb(66, 49, 120);
/* oklch */ color: oklch(37.2% 0.116 290.7);
Tailwind
colors: {
  custom: {
    50: '#7a699f',
    500: '#423178',
    950: '#000000',
  },
}
SCSS
$custom: #423178;
$custom-light: #7a699f;
$custom-dark: #000000;
JSON
{
  "hex": "#423178",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 254.366,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37212,
    "c": 0.11622,
    "h": 290.7
  },
  "luminance": 0.04711
}

Semantic roles & 50–950 ramp

primary
#423178
secondary
#95A75E
accent
#D256B4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #423178

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

Preview Lab → · Contrast checker → · Palette generator →

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