#422696#422696

#422696 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.170 H 286.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#422696
RGBrgb(66, 38, 150)
HSLhsl(255, 60%, 37%)
HSVhsv(255, 75%, 59%)
CMYKcmyk(56%, 74.7%, 0%, 41.2%)
CIE-LABlab(26.00, 42.07, -56.74)
CIE-LCHlch(26.00, 70.63, 306.56°)
OKLaboklab(38.07% 0.0488 -0.1632)
OKLCHoklch(38.07% 0.17 286.6)
XYZxyz(8.4433, 4.7460, 29.3194)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422696 #7A9626
analogous
#264296 #422696 #7A2696
triadic
#422696 #964226 #269642
tetradic
#422696 #962642 #7A9626 #26967A
square
#422696 #962642 #7A9626 #26967A
split-complementary
#422696 #967A26 #429626
monochromatic
#170D34 #2D1A65 #422696 #5732C7 #7D60D7

Accessibility & contrast

On white

10.77
#422696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422696
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422696#FFFFFF#000000##FFFFFF
##4226961.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#1D455C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422696;
/* rgb */ color: rgb(66, 38, 150);
/* oklch */ color: oklch(38.1% 0.170 286.6);
Tailwind
colors: {
  custom: {
    50: '#8063b6',
    500: '#422696',
    950: '#000000',
  },
}
SCSS
$custom: #422696;
$custom-light: #8063b6;
$custom-dark: #000000;
JSON
{
  "hex": "#422696",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 255,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.17038,
    "h": 286.6
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#422696
secondary
#A4BC5C
accent
#E345BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422696

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

Preview Lab → · Contrast checker → · Palette generator →

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