#62175F#62175F

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

Color values

HEX#62175F
RGBrgb(98, 23, 95)
HSLhsl(302, 62%, 24%)
HSVhsv(302, 77%, 38%)
CMYKcmyk(0%, 76.5%, 3.1%, 61.6%)
CIE-LABlab(23.79, 42.08, -25.14)
CIE-LCHlch(23.79, 49.01, 329.14°)
OKLaboklab(36.12% 0.1189 -0.0694)
OKLCHoklch(36.12% 0.138 329.7)
XYZxyz(7.4089, 4.0362, 11.2131)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62175F #17621A
analogous
#3F1762 #62175F #621739
triadic
#62175F #5F6217 #175F62
tetradic
#62175F #623F17 #17621A #173962
square
#62175F #623F17 #17621A #173962
split-complementary
#62175F #396217 #17623F
monochromatic
#190618 #300B2F #62175F #94238F #C52EBF

Accessibility & contrast

On white

11.62
#62175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#62175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62175F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62175F#FFFFFF#000000##FFFFFF
##62175F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3261
Deuteranopia (green-blind)
#2D3C5D
Tritanopia (blue-blind)
#662139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #62175f;
/* rgb */ color: rgb(98, 23, 95);
/* oklch */ color: oklch(36.1% 0.138 329.7);
Tailwind
colors: {
  custom: {
    50: '#925d8d',
    500: '#62175f',
    950: '#000000',
  },
}
SCSS
$custom: #62175f;
$custom-light: #925d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#62175f",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 302.4,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36116,
    "c": 0.13765,
    "h": 329.7
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#62175F
secondary
#3C9940
accent
#E54943
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #62175F

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

Preview Lab → · Contrast checker → · Palette generator →

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