#62175D#62175D

#62175D is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.136 H 330.9°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#62175D
RGBrgb(98, 23, 93)
HSLhsl(304, 62%, 24%)
HSVhsv(304, 77%, 38%)
CMYKcmyk(0%, 76.5%, 5.1%, 61.6%)
CIE-LABlab(23.67, 41.72, -24.01)
CIE-LCHlch(23.67, 48.13, 330.08°)
OKLaboklab(35.99% 0.1188 -0.0661)
OKLCHoklch(35.99% 0.136 330.9)
XYZxyz(7.3192, 4.0004, 10.7405)
Luminance0.0400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62175D #17621C
analogous
#411762 #62175D #621737
triadic
#62175D #5D6217 #175D62
tetradic
#62175D #624117 #17621C #173762
square
#62175D #624117 #17621C #173762
split-complementary
#62175D #376217 #176241
monochromatic
#190618 #300B2E #62175D #94238C #C52EBB

Accessibility & contrast

On white

11.67
#62175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#62175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62175D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62175D#FFFFFF#000000##FFFFFF
##62175D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10325F
Deuteranopia (green-blind)
#2E3C5B
Tritanopia (blue-blind)
#662038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #62175d;
/* rgb */ color: rgb(98, 23, 93);
/* oklch */ color: oklch(36.0% 0.136 330.9);
Tailwind
colors: {
  custom: {
    50: '#915d8b',
    500: '#62175d',
    950: '#000000',
  },
}
SCSS
$custom: #62175d;
$custom-light: #915d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#62175d",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 304,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35993,
    "c": 0.13597,
    "h": 330.9
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#62175D
secondary
#3C9942
accent
#E54E43
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #62175D

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

Preview Lab → · Contrast checker → · Palette generator →

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