#62135F#62135F

#62135F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.142 H 329.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#62135F
RGBrgb(98, 19, 95)
HSLhsl(302, 68%, 23%)
HSVhsv(302, 81%, 38%)
CMYKcmyk(0%, 80.6%, 3.1%, 61.6%)
CIE-LABlab(23.30, 43.47, -25.92)
CIE-LCHlch(23.30, 50.61, 329.20°)
OKLaboklab(35.77% 0.1229 -0.0716)
OKLCHoklch(35.77% 0.142 329.8)
XYZxyz(7.3354, 3.8892, 11.1886)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62135F #136216
analogous
#3D1362 #62135F #621338
triadic
#62135F #5F6213 #135F62
tetradic
#62135F #623D13 #136216 #133862
square
#62135F #623D13 #136216 #133862
split-complementary
#62135F #386213 #13623D
monochromatic
#1A0519 #2F092D #62135F #951D91 #C927C2

Accessibility & contrast

On white

11.81
#62135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#62135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62135F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62135F#FFFFFF#000000##FFFFFF
##62135F1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073161
Deuteranopia (green-blind)
#2B3B5D
Tritanopia (blue-blind)
#661F38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #62135f;
/* rgb */ color: rgb(98, 19, 95);
/* oklch */ color: oklch(35.8% 0.142 329.8);
Tailwind
colors: {
  custom: {
    50: '#925b8d',
    500: '#62135f',
    950: '#000000',
  },
}
SCSS
$custom: #62135f;
$custom-light: #925b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#62135f",
  "rgb": {
    "r": 98,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 302.278,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35766,
    "c": 0.14223,
    "h": 329.8
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#62135F
secondary
#379A3B
accent
#EA443D
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #62135F

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

Preview Lab → · Contrast checker → · Palette generator →

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