#422267#422267

#422267 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.3% C 0.117 H 301.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#422267
RGBrgb(66, 34, 103)
HSLhsl(268, 50%, 27%)
HSVhsv(268, 67%, 40%)
CMYKcmyk(35.9%, 67%, 0%, 59.6%)
CIE-LABlab(21.14, 30.54, -34.92)
CIE-LCHlch(21.14, 46.39, 311.17°)
OKLaboklab(33.34% 0.0613 -0.0991)
OKLCHoklch(33.34% 0.117 301.7)
XYZxyz(5.2664, 3.2816, 13.1853)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422267 #476722
analogous
#222567 #422267 #652267
triadic
#422267 #674222 #226742
tetradic
#422267 #672225 #476722 #226765
square
#422267 #672225 #476722 #226765
split-complementary
#422267 #676522 #256722
monochromatic
#0F0817 #251339 #422267 #5F3195 #7D43C1

Accessibility & contrast

On white

12.68
#422267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422267
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422267#FFFFFF#000000##FFFFFF
##4222671.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#093265
Tritanopia (blue-blind)
#3A3141
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #422267;
/* rgb */ color: rgb(66, 34, 103);
/* oklch */ color: oklch(33.3% 0.117 301.7);
Tailwind
colors: {
  custom: {
    50: '#7a5f93',
    500: '#422267',
    950: '#000000',
  },
}
SCSS
$custom: #422267;
$custom-light: #7a5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#422267",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 267.826,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33336,
    "c": 0.11654,
    "h": 301.7
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#422267
secondary
#759B4A
accent
#DA4E99
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #422267

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

Preview Lab → · Contrast checker → · Palette generator →

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