#422358#422358

#422358 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.4% C 0.095 H 309.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#422358
RGBrgb(66, 35, 88)
HSLhsl(275, 43%, 24%)
HSVhsv(275, 60%, 35%)
CMYKcmyk(25%, 60.2%, 0%, 65.5%)
CIE-LABlab(20.30, 25.85, -26.36)
CIE-LCHlch(20.30, 36.92, 314.44°)
OKLaboklab(32.39% 0.0601 -0.074)
OKLCHoklch(32.39% 0.095 309)
XYZxyz(4.6089, 3.0650, 9.5794)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422358 #395823
analogous
#282358 #422358 #582354
triadic
#422358 #584223 #235842
tetradic
#422358 #582823 #395823 #235458
square
#422358 #582823 #395823 #235458
split-complementary
#422358 #545823 #235828
monochromatic
#100916 #21122C #422358 #633484 #8446B0

Accessibility & contrast

On white

13.02
#422358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#422358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422358
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422358#FFFFFF#000000##FFFFFF
##4223581.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305A
Deuteranopia (green-blind)
#1D3157
Tritanopia (blue-blind)
#3F2D39
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #422358;
/* rgb */ color: rgb(66, 35, 88);
/* oklch */ color: oklch(32.4% 0.095 309.0);
Tailwind
colors: {
  custom: {
    50: '#785f87',
    500: '#422358',
    950: '#000000',
  },
}
SCSS
$custom: #422358;
$custom-light: #785f87;
$custom-dark: #000000;
JSON
{
  "hex": "#422358",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 275.094,
    "s": 43.089,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32387,
    "c": 0.09534,
    "h": 309
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#422358
secondary
#668C4B
accent
#D35589
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #422358

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

Preview Lab → · Contrast checker → · Palette generator →

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