#62185A#62185A

#62185A is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.132 H 332.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#62185A
RGBrgb(98, 24, 90)
HSLhsl(306, 61%, 24%)
HSVhsv(306, 76%, 38%)
CMYKcmyk(0%, 75.5%, 8.2%, 61.6%)
CIE-LABlab(23.63, 40.81, -22.08)
CIE-LCHlch(23.63, 46.41, 331.58°)
OKLaboklab(35.91% 0.1175 -0.0606)
OKLCHoklch(35.91% 0.132 332.7)
XYZxyz(7.2091, 3.9887, 10.0611)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62185A #186220
analogous
#451862 #62185A #621835
triadic
#62185A #5A6218 #185A62
tetradic
#62185A #624518 #186220 #183562
square
#62185A #624518 #186220 #183562
split-complementary
#62185A #356218 #186245
monochromatic
#190617 #310C2D #62185A #932487 #C430B4

Accessibility & contrast

On white

11.68
#62185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62185A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62185A#FFFFFF#000000##FFFFFF
##62185A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325C
Deuteranopia (green-blind)
#303C58
Tritanopia (blue-blind)
#671F37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #62185a;
/* rgb */ color: rgb(98, 24, 90);
/* oklch */ color: oklch(35.9% 0.132 332.7);
Tailwind
colors: {
  custom: {
    50: '#915d89',
    500: '#62185a',
    950: '#000000',
  },
}
SCSS
$custom: #62185a;
$custom-light: #915d89;
$custom-dark: #000000;
JSON
{
  "hex": "#62185a",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 306.486,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35909,
    "c": 0.13222,
    "h": 332.7
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#62185A
secondary
#3E9847
accent
#E45544
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #62185A

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

Preview Lab → · Contrast checker → · Palette generator →

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