#62175E#62175E

#62175E is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.137 H 330.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#62175E
RGBrgb(98, 23, 94)
HSLhsl(303, 62%, 24%)
HSVhsv(303, 77%, 38%)
CMYKcmyk(0%, 76.5%, 4.1%, 61.6%)
CIE-LABlab(23.73, 41.90, -24.58)
CIE-LCHlch(23.73, 48.57, 329.60°)
OKLaboklab(36.05% 0.1188 -0.0678)
OKLCHoklch(36.05% 0.137 330.3)
XYZxyz(7.3637, 4.0182, 10.9753)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62175E #17621B
analogous
#401762 #62175E #621738
triadic
#62175E #5E6217 #175E62
tetradic
#62175E #624017 #17621B #173862
square
#62175E #624017 #17621B #173862
split-complementary
#62175E #386217 #176240
monochromatic
#190618 #300B2E #62175E #94238E #C52EBD

Accessibility & contrast

On white

11.64
#62175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62175E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62175E#FFFFFF#000000##FFFFFF
##62175E1.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)
#0F3260
Deuteranopia (green-blind)
#2D3C5C
Tritanopia (blue-blind)
#662139
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #62175e;
/* rgb */ color: rgb(98, 23, 94);
/* oklch */ color: oklch(36.1% 0.137 330.3);
Tailwind
colors: {
  custom: {
    50: '#915d8c',
    500: '#62175e',
    950: '#000000',
  },
}
SCSS
$custom: #62175e;
$custom-light: #915d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#62175e",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 303.2,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36054,
    "c": 0.13681,
    "h": 330.3
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#62175E
secondary
#3C9941
accent
#E54B43
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #62175E

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

Preview Lab → · Contrast checker → · Palette generator →

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