#62185C#62185C

#62185C is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.134 H 331.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#62185C
RGBrgb(98, 24, 92)
HSLhsl(305, 61%, 24%)
HSVhsv(305, 76%, 38%)
CMYKcmyk(0%, 75.5%, 6.1%, 61.6%)
CIE-LABlab(23.75, 41.16, -23.23)
CIE-LCHlch(23.75, 47.27, 330.56°)
OKLaboklab(36.03% 0.1176 -0.0639)
OKLCHoklch(36.03% 0.134 331.5)
XYZxyz(7.2954, 4.0232, 10.5155)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62185C #18621E
analogous
#431862 #62185C #621837
triadic
#62185C #5C6218 #185C62
tetradic
#62185C #624318 #18621E #183762
square
#62185C #624318 #18621E #183762
split-complementary
#62185C #376218 #186243
monochromatic
#190617 #310C2E #62185C #93248A #C430B8

Accessibility & contrast

On white

11.64
#62185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#62185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62185C
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62185C#FFFFFF#000000##FFFFFF
##62185C1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325E
Deuteranopia (green-blind)
#2F3C5A
Tritanopia (blue-blind)
#662038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #62185c;
/* rgb */ color: rgb(98, 24, 92);
/* oklch */ color: oklch(36.0% 0.134 331.5);
Tailwind
colors: {
  custom: {
    50: '#915d8a',
    500: '#62185c',
    950: '#000000',
  },
}
SCSS
$custom: #62185c;
$custom-light: #915d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#62185c",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 304.865,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.36028,
    "c": 0.13387,
    "h": 331.5
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#62185C
secondary
#3E9845
accent
#E45144
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #62185C

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

Preview Lab → · Contrast checker → · Palette generator →

#62185C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva