#62125C#62125C

#62125C is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.141 H 331.5°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#62125C
RGBrgb(98, 18, 92)
HSLhsl(305, 69%, 23%)
HSVhsv(305, 82%, 38%)
CMYKcmyk(0%, 81.6%, 6.1%, 61.6%)
CIE-LABlab(23.01, 43.28, -24.40)
CIE-LCHlch(23.01, 49.68, 330.59°)
OKLaboklab(35.5% 0.1238 -0.0672)
OKLCHoklch(35.5% 0.141 331.5)
XYZxyz(7.1851, 3.8026, 10.4787)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62125C #126218
analogous
#401262 #62125C #621234
triadic
#62125C #5C6212 #125C62
tetradic
#62125C #624012 #126218 #123462
square
#62125C #624012 #126218 #123462
split-complementary
#62125C #346212 #126240
monochromatic
#1A0518 #2E092B #62125C #961B8D #C925BD

Accessibility & contrast

On white

11.93
#62125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#62125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62125C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62125C#FFFFFF#000000##FFFFFF
##62125C1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305E
Deuteranopia (green-blind)
#2C3B5A
Tritanopia (blue-blind)
#661C36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #62125c;
/* rgb */ color: rgb(98, 18, 92);
/* oklch */ color: oklch(35.5% 0.141 331.5);
Tailwind
colors: {
  custom: {
    50: '#925b8a',
    500: '#62125c',
    950: '#000000',
  },
}
SCSS
$custom: #62125c;
$custom-light: #925b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#62125c",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 304.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.14085,
    "h": 331.5
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#62125C
secondary
#369A3D
accent
#EC493C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #62125C

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

Preview Lab → · Contrast checker → · Palette generator →

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