#422758#422758

#422758 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.1% C 0.088 H 307.7°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#422758
RGBrgb(66, 39, 88)
HSLhsl(273, 39%, 25%)
HSVhsv(273, 56%, 35%)
CMYKcmyk(25%, 55.7%, 0%, 65.5%)
CIE-LABlab(21.26, 23.35, -24.84)
CIE-LCHlch(21.26, 34.09, 313.24°)
OKLaboklab(33.09% 0.0539 -0.0696)
OKLCHoklch(33.09% 0.088 307.7)
XYZxyz(4.7334, 3.3139, 9.6209)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422758 #3D5827
analogous
#292758 #422758 #582756
triadic
#422758 #584227 #275842
tetradic
#422758 #582927 #3D5827 #275658
square
#422758 #582927 #3D5827 #275658
split-complementary
#422758 #565827 #275829
monochromatic
#100915 #22142E #422758 #623A82 #824DAD

Accessibility & contrast

On white

12.63
#422758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422758
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422758#FFFFFF#000000##FFFFFF
##4227581.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325A
Deuteranopia (green-blind)
#213357
Tritanopia (blue-blind)
#3F303B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #422758;
/* rgb */ color: rgb(66, 39, 88);
/* oklch */ color: oklch(33.1% 0.088 307.7);
Tailwind
colors: {
  custom: {
    50: '#786287',
    500: '#422758',
    950: '#000000',
  },
}
SCSS
$custom: #422758;
$custom-light: #786287;
$custom-dark: #000000;
JSON
{
  "hex": "#422758",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 273.061,
    "s": 38.583,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33093,
    "c": 0.08803,
    "h": 307.7
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#422758
secondary
#6A8B50
accent
#CF598E
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #422758

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

Preview Lab → · Contrast checker → · Palette generator →

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