#422268#422268

#422268 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.4% C 0.118 H 301.3°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#422268
RGBrgb(66, 34, 104)
HSLhsl(267, 51%, 27%)
HSVhsv(267, 67%, 41%)
CMYKcmyk(36.5%, 67.3%, 0%, 59.2%)
CIE-LABlab(21.21, 30.82, -35.45)
CIE-LCHlch(21.21, 46.97, 311.01°)
OKLaboklab(33.42% 0.0612 -0.1007)
OKLCHoklch(33.42% 0.118 301.3)
XYZxyz(5.3169, 3.3018, 13.4512)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422268 #486822
analogous
#222568 #422268 #652268
triadic
#422268 #684222 #226842
tetradic
#422268 #682225 #486822 #226865
square
#422268 #682225 #486822 #226865
split-complementary
#422268 #686522 #256822
monochromatic
#0F0817 #25133A #422268 #5F3196 #7D43C2

Accessibility & contrast

On white

12.65
#422268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#422268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422268
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422268#FFFFFF#000000##FFFFFF
##4222681.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#073366
Tritanopia (blue-blind)
#3A3141
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #422268;
/* rgb */ color: rgb(66, 34, 104);
/* oklch */ color: oklch(33.4% 0.118 301.3);
Tailwind
colors: {
  custom: {
    50: '#7a5f94',
    500: '#422268',
    950: '#000000',
  },
}
SCSS
$custom: #422268;
$custom-light: #7a5f94;
$custom-dark: #000000;
JSON
{
  "hex": "#422268",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 267.429,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33415,
    "c": 0.11782,
    "h": 301.3
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#422268
secondary
#769C4A
accent
#DA4E9A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #422268

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

Preview Lab → · Contrast checker → · Palette generator →

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