#422259#422259

#422259 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.098 H 308.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#422259
RGBrgb(66, 34, 89)
HSLhsl(275, 45%, 24%)
HSVhsv(275, 62%, 35%)
CMYKcmyk(25.8%, 61.8%, 0%, 65.1%)
CIE-LABlab(20.14, 26.73, -27.29)
CIE-LCHlch(20.14, 38.20, 314.40°)
OKLaboklab(32.29% 0.0616 -0.0768)
OKLCHoklch(32.29% 0.098 308.8)
XYZxyz(4.6216, 3.0236, 9.7894)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422259 #395922
analogous
#272259 #422259 #592255
triadic
#422259 #594222 #225942
tetradic
#422259 #592722 #395922 #225559
square
#422259 #592722 #395922 #225559
split-complementary
#422259 #555922 #225927
monochromatic
#100816 #21112D #422259 #633385 #8444B2

Accessibility & contrast

On white

13.09
#422259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#422259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422259
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422259#FFFFFF#000000##FFFFFF
##4222591.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2F5B
Deuteranopia (green-blind)
#1B3158
Tritanopia (blue-blind)
#3F2C3A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #422259;
/* rgb */ color: rgb(66, 34, 89);
/* oklch */ color: oklch(32.3% 0.098 308.8);
Tailwind
colors: {
  custom: {
    50: '#785f88',
    500: '#422259',
    950: '#000000',
  },
}
SCSS
$custom: #422259;
$custom-light: #785f88;
$custom-dark: #000000;
JSON
{
  "hex": "#422259",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 274.909,
    "s": 44.715,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32288,
    "c": 0.09843,
    "h": 308.8
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#422259
secondary
#668D4A
accent
#D45389
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #422259

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

Preview Lab → · Contrast checker → · Palette generator →

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