#621166#621166

#621166 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.150 H 326.0°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#621166
RGBrgb(98, 17, 102)
HSLhsl(297, 71%, 23%)
HSVhsv(297, 83%, 40%)
CMYKcmyk(3.9%, 83.3%, 0%, 60%)
CIE-LABlab(23.53, 45.36, -30.15)
CIE-LCHlch(23.53, 54.46, 326.39°)
OKLaboklab(36.07% 0.1244 -0.0839)
OKLCHoklch(36.07% 0.15 326)
XYZxyz(7.6356, 3.9574, 12.9295)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#621166 #156611
analogous
#371166 #621166 #66113F
triadic
#621166 #666211 #116662
tetradic
#621166 #663711 #156611 #113F66
square
#621166 #663711 #156611 #113F66
split-complementary
#621166 #3F6611 #116637
monochromatic
#19041A #300832 #621166 #941A9A #C722CF

Accessibility & contrast

On white

11.72
#621166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#621166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #621166
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##621166#FFFFFF#000000##FFFFFF
##6211661.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#263B64
Tritanopia (blue-blind)
#65213C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #621166;
/* rgb */ color: rgb(98, 17, 102);
/* oklch */ color: oklch(36.1% 0.150 326.0);
Tailwind
colors: {
  custom: {
    50: '#925b92',
    500: '#621166',
    950: '#000000',
  },
}
SCSS
$custom: #621166;
$custom-light: #925b92;
$custom-dark: #000000;
JSON
{
  "hex": "#621166",
  "rgb": {
    "r": 98,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 297.176,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.36072,
    "c": 0.15005,
    "h": 326
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#621166
secondary
#3A9E35
accent
#EE3A42
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #621166

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

Preview Lab → · Contrast checker → · Palette generator →

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