#62145E#62145E

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

Color values

HEX#62145E
RGBrgb(98, 20, 94)
HSLhsl(303, 66%, 23%)
HSVhsv(303, 80%, 38%)
CMYKcmyk(0%, 79.6%, 4.1%, 61.6%)
CIE-LABlab(23.36, 42.97, -25.17)
CIE-LCHlch(23.36, 49.79, 329.64°)
OKLaboklab(35.79% 0.1219 -0.0695)
OKLCHoklch(35.79% 0.14 330.3)
XYZxyz(7.3075, 3.9057, 10.9565)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62145E #146218
analogous
#3F1462 #62145E #621437
triadic
#62145E #5E6214 #145E62
tetradic
#62145E #623F14 #146218 #143762
square
#62145E #623F14 #146218 #143762
split-complementary
#62145E #376214 #14623F
monochromatic
#190518 #2F0A2D #62145E #951E8F #C829C0

Accessibility & contrast

On white

11.79
#62145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62145E
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62145E#FFFFFF#000000##FFFFFF
##62145E1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3160
Deuteranopia (green-blind)
#2C3B5C
Tritanopia (blue-blind)
#661F38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #62145e;
/* rgb */ color: rgb(98, 20, 94);
/* oklch */ color: oklch(35.8% 0.140 330.3);
Tailwind
colors: {
  custom: {
    50: '#925b8c',
    500: '#62145e',
    950: '#000000',
  },
}
SCSS
$custom: #62145e;
$custom-light: #925b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#62145e",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 303.077,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.14031,
    "h": 330.3
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#62145E
secondary
#38993D
accent
#E9473F
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #62145E

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

Preview Lab → · Contrast checker → · Palette generator →

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