#62185B#62185B

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

Color values

HEX#62185B
RGBrgb(98, 24, 91)
HSLhsl(306, 61%, 24%)
HSVhsv(306, 76%, 38%)
CMYKcmyk(0%, 75.5%, 7.1%, 61.6%)
CIE-LABlab(23.69, 40.99, -22.66)
CIE-LCHlch(23.69, 46.83, 331.07°)
OKLaboklab(35.97% 0.1176 -0.0622)
OKLCHoklch(35.97% 0.133 332.1)
XYZxyz(7.2520, 4.0059, 10.2868)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62185B #18621F
analogous
#441862 #62185B #621836
triadic
#62185B #5B6218 #185B62
tetradic
#62185B #624418 #18621F #183662
square
#62185B #624418 #18621F #183662
split-complementary
#62185B #366218 #186244
monochromatic
#190617 #310C2D #62185B #932489 #C430B6

Accessibility & contrast

On white

11.66
#62185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62185B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62185B#FFFFFF#000000##FFFFFF
##62185B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325D
Deuteranopia (green-blind)
#2F3C59
Tritanopia (blue-blind)
#662037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #62185b;
/* rgb */ color: rgb(98, 24, 91);
/* oklch */ color: oklch(36.0% 0.133 332.1);
Tailwind
colors: {
  custom: {
    50: '#915d89',
    500: '#62185b',
    950: '#000000',
  },
}
SCSS
$custom: #62185b;
$custom-light: #915d89;
$custom-dark: #000000;
JSON
{
  "hex": "#62185b",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 305.676,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35968,
    "c": 0.13304,
    "h": 332.1
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#62185B
secondary
#3E9846
accent
#E45344
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050B
muted
#7E797C

Preview Lab

Preview with #62185B

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

Preview Lab → · Contrast checker → · Palette generator →

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