#422265#422265

#422265 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.2% C 0.114 H 302.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#422265
RGBrgb(66, 34, 101)
HSLhsl(269, 50%, 26%)
HSVhsv(269, 66%, 40%)
CMYKcmyk(34.7%, 66.3%, 0%, 60.4%)
CIE-LABlab(20.99, 29.98, -33.85)
CIE-LCHlch(20.99, 45.22, 311.53°)
OKLaboklab(33.18% 0.0614 -0.096)
OKLCHoklch(33.18% 0.114 302.6)
XYZxyz(5.1672, 3.2419, 12.6629)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422265 #456522
analogous
#222365 #422265 #642265
triadic
#422265 #654222 #226542
tetradic
#422265 #652223 #456522 #226564
square
#422265 #652223 #456522 #226564
split-complementary
#422265 #656422 #236522
monochromatic
#0F0817 #241337 #422265 #603193 #7E42BF

Accessibility & contrast

On white

12.74
#422265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#422265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422265
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422265#FFFFFF#000000##FFFFFF
##4222651.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#0D3264
Tritanopia (blue-blind)
#3B3040
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422265;
/* rgb */ color: rgb(66, 34, 101);
/* oklch */ color: oklch(33.2% 0.114 302.6);
Tailwind
colors: {
  custom: {
    50: '#795f91',
    500: '#422265',
    950: '#000000',
  },
}
SCSS
$custom: #422265;
$custom-light: #795f91;
$custom-dark: #000000;
JSON
{
  "hex": "#422265",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 268.657,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33179,
    "c": 0.11396,
    "h": 302.6
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#422265
secondary
#73994A
accent
#D94F97
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #422265

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

Preview Lab → · Contrast checker → · Palette generator →

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