#422694#422694

#422694 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.168 H 287.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#422694
RGBrgb(66, 38, 148)
HSLhsl(255, 59%, 36%)
HSVhsv(255, 74%, 58%)
CMYKcmyk(55.4%, 74.3%, 0%, 42%)
CIE-LABlab(25.81, 41.47, -55.82)
CIE-LCHlch(25.81, 69.54, 306.61°)
OKLaboklab(37.88% 0.0493 -0.1605)
OKLCHoklch(37.88% 0.168 287.1)
XYZxyz(8.2836, 4.6822, 28.4785)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422694 #789426
analogous
#264194 #422694 #792694
triadic
#422694 #944226 #269442
tetradic
#422694 #942641 #789426 #269479
square
#422694 #942641 #789426 #269479
split-complementary
#422694 #947926 #419426
monochromatic
#170D33 #2C1963 #422694 #5833C5 #7D5FD6

Accessibility & contrast

On white

10.84
#422694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422694
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422694#FFFFFF#000000##FFFFFF
##4226941.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#1F445B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422694;
/* rgb */ color: rgb(66, 38, 148);
/* oklch */ color: oklch(37.9% 0.168 287.1);
Tailwind
colors: {
  custom: {
    50: '#8063b4',
    500: '#422694',
    950: '#000000',
  },
}
SCSS
$custom: #422694;
$custom-light: #8063b4;
$custom-dark: #000000;
JSON
{
  "hex": "#422694",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 255.273,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37877,
    "c": 0.16793,
    "h": 287.1
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#422694
secondary
#A2BB5B
accent
#E245BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422694

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

Preview Lab → · Contrast checker → · Palette generator →

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