#422597#422597

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

Color values

HEX#422597
RGBrgb(66, 37, 151)
HSLhsl(255, 61%, 37%)
HSVhsv(255, 75%, 59%)
CMYKcmyk(56.3%, 75.5%, 0%, 40.8%)
CIE-LABlab(25.91, 42.89, -57.50)
CIE-LCHlch(25.91, 71.74, 306.72°)
OKLaboklab(38.03% 0.0494 -0.1655)
OKLCHoklch(38.03% 0.173 286.6)
XYZxyz(8.4926, 4.7153, 29.7348)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422597 #7A9725
analogous
#254197 #422597 #7B2597
triadic
#422597 #974225 #259742
tetradic
#422597 #972541 #7A9725 #25977B
square
#422597 #972541 #7A9725 #25977B
split-complementary
#422597 #977B25 #419725
monochromatic
#170D35 #2D1966 #422597 #5731C8 #7D5FD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422597#FFFFFF#000000##FFFFFF
##4225971.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)
#00409A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#1C445C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422597;
/* rgb */ color: rgb(66, 37, 151);
/* oklch */ color: oklch(38.0% 0.173 286.6);
Tailwind
colors: {
  custom: {
    50: '#8063b7',
    500: '#422597',
    950: '#000000',
  },
}
SCSS
$custom: #422597;
$custom-light: #8063b7;
$custom-dark: #000000;
JSON
{
  "hex": "#422597",
  "rgb": {
    "r": 66,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 255.263,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38033,
    "c": 0.17267,
    "h": 286.6
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#422597
secondary
#A4BD5B
accent
#E444BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422597

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

Preview Lab → · Contrast checker → · Palette generator →

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