#422795#422795

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

Color values

HEX#422795
RGBrgb(66, 39, 149)
HSLhsl(255, 59%, 37%)
HSVhsv(255, 74%, 58%)
CMYKcmyk(55.7%, 73.8%, 0%, 41.6%)
CIE-LABlab(26.09, 41.23, -55.97)
CIE-LCHlch(26.09, 69.51, 306.38°)
OKLaboklab(38.11% 0.0482 -0.161)
OKLCHoklch(38.11% 0.168 286.7)
XYZxyz(8.3955, 4.7788, 28.9080)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422795 #7A9527
analogous
#274395 #422795 #792795
triadic
#422795 #954227 #279542
tetradic
#422795 #952743 #7A9527 #279579
square
#422795 #952743 #7A9527 #279579
split-complementary
#422795 #957927 #439527
monochromatic
#170E34 #2D1A64 #422795 #5734C6 #7D61D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422795#FFFFFF#000000##FFFFFF
##4227951.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)
#004098
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#1E455B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422795;
/* rgb */ color: rgb(66, 39, 149);
/* oklch */ color: oklch(38.1% 0.168 286.7);
Tailwind
colors: {
  custom: {
    50: '#8064b5',
    500: '#422795',
    950: '#000000',
  },
}
SCSS
$custom: #422795;
$custom-light: #8064b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422795",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 254.727,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38108,
    "c": 0.16804,
    "h": 286.7
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#422795
secondary
#A4BB5D
accent
#E246BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422795

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

Preview Lab → · Contrast checker → · Palette generator →

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