#422698#422698

#422698 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.173 H 286.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#422698
RGBrgb(66, 38, 152)
HSLhsl(255, 60%, 37%)
HSVhsv(255, 75%, 60%)
CMYKcmyk(56.6%, 75%, 0%, 40.4%)
CIE-LABlab(26.19, 42.67, -57.65)
CIE-LCHlch(26.19, 71.73, 306.50°)
OKLaboklab(38.26% 0.0483 -0.1659)
OKLCHoklch(38.26% 0.173 286.2)
XYZxyz(8.6057, 4.8110, 30.1748)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422698 #7C9826
analogous
#264398 #422698 #7B2698
triadic
#422698 #984226 #269842
tetradic
#422698 #982643 #7C9826 #26987B
square
#422698 #982643 #7C9826 #26987B
split-complementary
#422698 #987B26 #439826
monochromatic
#170E36 #2D1A67 #422698 #5732C9 #7E61D7

Accessibility & contrast

On white

10.70
#422698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422698
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422698#FFFFFF#000000##FFFFFF
##4226981.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#1B455D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422698;
/* rgb */ color: rgb(66, 38, 152);
/* oklch */ color: oklch(38.3% 0.173 286.2);
Tailwind
colors: {
  custom: {
    50: '#8063b7',
    500: '#422698',
    950: '#000000',
  },
}
SCSS
$custom: #422698;
$custom-light: #8063b7;
$custom-dark: #000000;
JSON
{
  "hex": "#422698",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 254.737,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38261,
    "c": 0.17281,
    "h": 286.2
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #422698

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

Preview Lab → · Contrast checker → · Palette generator →

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