#62145F#62145F

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

Color values

HEX#62145F
RGBrgb(98, 20, 95)
HSLhsl(302, 66%, 23%)
HSVhsv(302, 80%, 38%)
CMYKcmyk(0%, 79.6%, 3.1%, 61.6%)
CIE-LABlab(23.42, 43.14, -25.73)
CIE-LCHlch(23.42, 50.23, 329.19°)
OKLaboklab(35.85% 0.1219 -0.0711)
OKLCHoklch(35.85% 0.141 329.7)
XYZxyz(7.3527, 3.9238, 11.1944)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62145F #146217
analogous
#3E1462 #62145F #621438
triadic
#62145F #5F6214 #145F62
tetradic
#62145F #623E14 #146217 #143862
square
#62145F #623E14 #146217 #143862
split-complementary
#62145F #386214 #14623E
monochromatic
#190519 #2F0A2E #62145F #951E90 #C829C2

Accessibility & contrast

On white

11.77
#62145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62145F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62145F#FFFFFF#000000##FFFFFF
##62145F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62145f;
/* rgb */ color: rgb(98, 20, 95);
/* oklch */ color: oklch(35.8% 0.141 329.7);
Tailwind
colors: {
  custom: {
    50: '#925c8d',
    500: '#62145f',
    950: '#000000',
  },
}
SCSS
$custom: #62145f;
$custom-light: #925c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#62145f",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 302.308,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35849,
    "c": 0.14113,
    "h": 329.7
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#62145F
secondary
#38993C
accent
#E9453F
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #62145F

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

Preview Lab → · Contrast checker → · Palette generator →

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