#62125A#62125A

#62125A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.139 H 332.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#62125A
RGBrgb(98, 18, 90)
HSLhsl(306, 69%, 23%)
HSVhsv(306, 82%, 38%)
CMYKcmyk(0%, 81.6%, 8.2%, 61.6%)
CIE-LABlab(22.89, 42.94, -23.26)
CIE-LCHlch(22.89, 48.83, 331.56°)
OKLaboklab(35.37% 0.1237 -0.0639)
OKLCHoklch(35.37% 0.139 332.7)
XYZxyz(7.0988, 3.7681, 10.0243)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62125A #12621A
analogous
#421262 #62125A #621232
triadic
#62125A #5A6212 #125A62
tetradic
#62125A #624212 #12621A #123262
square
#62125A #624212 #12621A #123262
split-complementary
#62125A #326212 #126242
monochromatic
#1A0518 #2E092B #62125A #961B89 #C925B9

Accessibility & contrast

On white

11.98
#62125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#62125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62125A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62125A#FFFFFF#000000##FFFFFF
##62125A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2F5C
Deuteranopia (green-blind)
#2D3B58
Tritanopia (blue-blind)
#671B35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #62125a;
/* rgb */ color: rgb(98, 18, 90);
/* oklch */ color: oklch(35.4% 0.139 332.7);
Tailwind
colors: {
  custom: {
    50: '#925b89',
    500: '#62125a',
    950: '#000000',
  },
}
SCSS
$custom: #62125a;
$custom-light: #925b89;
$custom-dark: #000000;
JSON
{
  "hex": "#62125a",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 306,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35374,
    "c": 0.13926,
    "h": 332.7
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#62125A
secondary
#369A40
accent
#EC4E3C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #62125A

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

Preview Lab → · Contrast checker → · Palette generator →

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