#422678#422678

#422678 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.133 H 294.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#422678
RGBrgb(66, 38, 120)
HSLhsl(260, 52%, 31%)
HSVhsv(260, 68%, 47%)
CMYKcmyk(45%, 68.3%, 0%, 52.9%)
CIE-LABlab(23.34, 33.10, -42.31)
CIE-LCHlch(23.34, 53.72, 308.03°)
OKLaboklab(35.35% 0.0546 -0.1209)
OKLCHoklch(35.35% 0.133 294.3)
XYZxyz(6.3291, 3.9004, 18.1850)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422678 #5C7826
analogous
#263378 #422678 #6B2678
triadic
#422678 #784226 #267842
tetradic
#422678 #782633 #5C7826 #26786B
square
#422678 #782633 #5C7826 #26786B
split-complementary
#422678 #786B26 #337826
monochromatic
#0F091B #28174A #422678 #5C35A6 #7951C8

Accessibility & contrast

On white

11.80
#422678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#422678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422678
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422678#FFFFFF#000000##FFFFFF
##4226781.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#33394B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422678;
/* rgb */ color: rgb(66, 38, 120);
/* oklch */ color: oklch(35.3% 0.133 294.3);
Tailwind
colors: {
  custom: {
    50: '#7b62a0',
    500: '#422678',
    950: '#000000',
  },
}
SCSS
$custom: #422678;
$custom-light: #7b62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#422678",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 260.488,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35349,
    "c": 0.13264,
    "h": 294.3
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#422678
secondary
#8BAA50
accent
#DB4CAB
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #422678

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

Preview Lab → · Contrast checker → · Palette generator →

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