#422679#422679

#422679 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.134 H 294.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#422679
RGBrgb(66, 38, 121)
HSLhsl(260, 52%, 31%)
HSVhsv(260, 69%, 47%)
CMYKcmyk(45.5%, 68.6%, 0%, 52.5%)
CIE-LABlab(23.42, 33.39, -42.82)
CIE-LCHlch(23.42, 54.30, 307.95°)
OKLaboklab(35.43% 0.0544 -0.1224)
OKLCHoklch(35.43% 0.134 294)
XYZxyz(6.3901, 3.9248, 18.5063)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422679 #5D7926
analogous
#263379 #422679 #6B2679
triadic
#422679 #794226 #267942
tetradic
#422679 #792633 #5D7926 #26796B
square
#422679 #792633 #5D7926 #26796B
split-complementary
#422679 #796B26 #337926
monochromatic
#0F091C #29174A #422679 #5B35A8 #7951C8

Accessibility & contrast

On white

11.76
#422679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#422679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422679
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422679#FFFFFF#000000##FFFFFF
##4226791.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#333A4C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422679;
/* rgb */ color: rgb(66, 38, 121);
/* oklch */ color: oklch(35.4% 0.134 294.0);
Tailwind
colors: {
  custom: {
    50: '#7b62a0',
    500: '#422679',
    950: '#000000',
  },
}
SCSS
$custom: #422679;
$custom-light: #7b62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#422679",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 260.241,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.13393,
    "h": 294
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#422679
secondary
#8CAB50
accent
#DC4CAB
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #422679

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

Preview Lab → · Contrast checker → · Palette generator →

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