#62175A#62175A

#62175A is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.133 H 332.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#62175A
RGBrgb(98, 23, 90)
HSLhsl(306, 62%, 24%)
HSVhsv(306, 77%, 38%)
CMYKcmyk(0%, 76.5%, 8.2%, 61.6%)
CIE-LABlab(23.50, 41.20, -22.30)
CIE-LCHlch(23.50, 46.84, 331.58°)
OKLaboklab(35.81% 0.1186 -0.0612)
OKLCHoklch(35.81% 0.133 332.7)
XYZxyz(7.1889, 3.9482, 10.0543)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62175A #17621F
analogous
#441762 #62175A #621734
triadic
#62175A #5A6217 #175A62
tetradic
#62175A #624417 #17621F #173462
square
#62175A #624417 #17621F #173462
split-complementary
#62175A #346217 #176244
monochromatic
#190617 #300B2C #62175A #942388 #C52EB5

Accessibility & contrast

On white

11.73
#62175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#62175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62175A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62175A#FFFFFF#000000##FFFFFF
##62175A1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13315C
Deuteranopia (green-blind)
#2F3C58
Tritanopia (blue-blind)
#671F37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #62175a;
/* rgb */ color: rgb(98, 23, 90);
/* oklch */ color: oklch(35.8% 0.133 332.7);
Tailwind
colors: {
  custom: {
    50: '#915d89',
    500: '#62175a',
    950: '#000000',
  },
}
SCSS
$custom: #62175a;
$custom-light: #915d89;
$custom-dark: #000000;
JSON
{
  "hex": "#62175a",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 306.4,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35812,
    "c": 0.13348,
    "h": 332.7
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#62175A
secondary
#3C9946
accent
#E55443
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #62175A

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

Preview Lab → · Contrast checker → · Palette generator →

#62175A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva