#622174#622174

#622174 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.144 H 318.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#622174
RGBrgb(98, 33, 116)
HSLhsl(287, 56%, 29%)
HSVhsv(287, 72%, 45%)
CMYKcmyk(15.5%, 71.6%, 0%, 54.5%)
CIE-LABlab(26.58, 42.09, -34.31)
CIE-LCHlch(26.58, 54.30, 320.81°)
OKLaboklab(38.54% 0.1072 -0.0962)
OKLCHoklch(38.54% 0.144 318.1)
XYZxyz(8.7328, 4.9457, 17.0142)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622174 #337421
analogous
#392174 #622174 #74215D
triadic
#622174 #746221 #217462
tetradic
#622174 #743921 #337421 #215D74
square
#622174 #743921 #337421 #215D74
split-complementary
#622174 #5D7421 #217439
monochromatic
#140718 #3A1344 #622174 #8A2FA4 #AD45CA

Accessibility & contrast

On white

10.56
#622174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#622174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622174
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622174#FFFFFF#000000##FFFFFF
##6221741.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#623148
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #622174;
/* rgb */ color: rgb(98, 33, 116);
/* oklch */ color: oklch(38.5% 0.144 318.1);
Tailwind
colors: {
  custom: {
    50: '#92629c',
    500: '#622174',
    950: '#000000',
  },
}
SCSS
$custom: #622174;
$custom-light: #92629c;
$custom-dark: #000000;
JSON
{
  "hex": "#622174",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 286.988,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38544,
    "c": 0.14401,
    "h": 318.1
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#622174
secondary
#5EA749
accent
#DF4969
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #622174

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

Preview Lab → · Contrast checker → · Palette generator →

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