#422751#422751

#422751 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.6% C 0.078 H 312.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#422751
RGBrgb(66, 39, 81)
HSLhsl(279, 35%, 24%)
HSVhsv(279, 52%, 32%)
CMYKcmyk(18.5%, 51.9%, 0%, 68.2%)
CIE-LABlab(20.84, 21.51, -20.82)
CIE-LCHlch(20.84, 29.94, 315.93°)
OKLaboklab(32.65% 0.0529 -0.0579)
OKLCHoklch(32.65% 0.078 312.4)
XYZxyz(4.4572, 3.2035, 8.1665)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422751 #365127
analogous
#2D2751 #422751 #51274B
triadic
#422751 #514227 #275142
tetradic
#422751 #512D27 #365127 #274B51
square
#422751 #512D27 #365127 #274B51
split-complementary
#422751 #4B5127 #27512D
monochromatic
#110A15 #201328 #422751 #643B7A #854FA4

Accessibility & contrast

On white

12.80
#422751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#422751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422751
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422751#FFFFFF#000000##FFFFFF
##4227511.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3152
Deuteranopia (green-blind)
#253350
Tritanopia (blue-blind)
#412D38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #422751;
/* rgb */ color: rgb(66, 39, 81);
/* oklch */ color: oklch(32.6% 0.078 312.4);
Tailwind
colors: {
  custom: {
    50: '#776282',
    500: '#422751',
    950: '#000000',
  },
}
SCSS
$custom: #422751;
$custom-light: #776282;
$custom-dark: #000000;
JSON
{
  "hex": "#422751",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 278.571,
    "s": 35,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32646,
    "c": 0.07849,
    "h": 312.4
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#422751
secondary
#628450
accent
#CB5D84
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#09050A
muted
#7B797C

Preview Lab

Preview with #422751

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

Preview Lab → · Contrast checker → · Palette generator →

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