#422757#422757

#422757 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.0% C 0.087 H 308.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#422757
RGBrgb(66, 39, 87)
HSLhsl(274, 38%, 25%)
HSVhsv(274, 55%, 34%)
CMYKcmyk(24.1%, 55.2%, 0%, 65.9%)
CIE-LABlab(21.20, 23.08, -24.27)
CIE-LCHlch(21.20, 33.50, 313.56°)
OKLaboklab(33.03% 0.0538 -0.068)
OKLCHoklch(33.03% 0.087 308.3)
XYZxyz(4.6922, 3.2975, 9.4043)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422757 #3C5727
analogous
#2A2757 #422757 #572754
triadic
#422757 #574227 #275742
tetradic
#422757 #572A27 #3C5727 #275457
square
#422757 #572A27 #3C5727 #275457
split-complementary
#422757 #545727 #27572A
monochromatic
#100915 #22142D #422757 #623A81 #824DAC

Accessibility & contrast

On white

12.66
#422757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422757
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422757#FFFFFF#000000##FFFFFF
##4227571.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#223356
Tritanopia (blue-blind)
#3F2F3B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #422757;
/* rgb */ color: rgb(66, 39, 87);
/* oklch */ color: oklch(33.0% 0.087 308.3);
Tailwind
colors: {
  custom: {
    50: '#786286',
    500: '#422757',
    950: '#000000',
  },
}
SCSS
$custom: #422757;
$custom-light: #786286;
$custom-dark: #000000;
JSON
{
  "hex": "#422757",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 273.75,
    "s": 38.095,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.08666,
    "h": 308.3
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#422757
secondary
#698A50
accent
#CE5A8D
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #422757

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

Preview Lab → · Contrast checker → · Palette generator →

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