#422697#422697

#422697 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.172 H 286.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#422697
RGBrgb(66, 38, 151)
HSLhsl(255, 60%, 37%)
HSVhsv(255, 75%, 59%)
CMYKcmyk(56.3%, 74.8%, 0%, 40.8%)
CIE-LABlab(26.09, 42.37, -57.20)
CIE-LCHlch(26.09, 71.18, 306.53°)
OKLaboklab(38.17% 0.0485 -0.1646)
OKLCHoklch(38.17% 0.172 286.4)
XYZxyz(8.5241, 4.7784, 29.7453)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422697 #7B9726
analogous
#264397 #422697 #7A2697
triadic
#422697 #974226 #269742
tetradic
#422697 #972643 #7B9726 #26977A
square
#422697 #972643 #7B9726 #26977A
split-complementary
#422697 #977A26 #439726
monochromatic
#170D35 #2D1A66 #422697 #5732C8 #7E60D7

Accessibility & contrast

On white

10.74
#422697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#422697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422697
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422697#FFFFFF#000000##FFFFFF
##4226971.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#1C455C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422697;
/* rgb */ color: rgb(66, 38, 151);
/* oklch */ color: oklch(38.2% 0.172 286.4);
Tailwind
colors: {
  custom: {
    50: '#8063b7',
    500: '#422697',
    950: '#000000',
  },
}
SCSS
$custom: #422697;
$custom-light: #8063b7;
$custom-dark: #000000;
JSON
{
  "hex": "#422697",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 254.867,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.17159,
    "h": 286.4
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#422697
secondary
#A5BC5C
accent
#E345BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422697

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

Preview Lab → · Contrast checker → · Palette generator →

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