#62125E#62125E

#62125E is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.142 H 330.3°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#62125E
RGBrgb(98, 18, 94)
HSLhsl(303, 69%, 23%)
HSVhsv(303, 82%, 38%)
CMYKcmyk(0%, 81.6%, 4.1%, 61.6%)
CIE-LABlab(23.13, 43.62, -25.53)
CIE-LCHlch(23.13, 50.54, 329.66°)
OKLaboklab(35.62% 0.1238 -0.0705)
OKLCHoklch(35.62% 0.142 330.3)
XYZxyz(7.2737, 3.8380, 10.9452)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62125E #126216
analogous
#3E1262 #62125E #621236
triadic
#62125E #5E6212 #125E62
tetradic
#62125E #623E12 #126216 #123662
square
#62125E #623E12 #126216 #123662
split-complementary
#62125E #366212 #12623E
monochromatic
#1A0519 #2E092C #62125E #961B90 #C925C1

Accessibility & contrast

On white

11.88
#62125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#62125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62125E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62125E#FFFFFF#000000##FFFFFF
##62125E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073060
Deuteranopia (green-blind)
#2B3B5C
Tritanopia (blue-blind)
#661D37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #62125e;
/* rgb */ color: rgb(98, 18, 94);
/* oklch */ color: oklch(35.6% 0.142 330.3);
Tailwind
colors: {
  custom: {
    50: '#925b8c',
    500: '#62125e',
    950: '#000000',
  },
}
SCSS
$custom: #62125e;
$custom-light: #925b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#62125e",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 303,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35622,
    "c": 0.14246,
    "h": 330.3
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#62125E
secondary
#369A3B
accent
#EC453C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #62125E

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

Preview Lab → · Contrast checker → · Palette generator →

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