#62125F#62125F

#62125F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.143 H 329.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#62125F
RGBrgb(98, 18, 95)
HSLhsl(302, 69%, 23%)
HSVhsv(302, 82%, 38%)
CMYKcmyk(0%, 81.6%, 3.1%, 61.6%)
CIE-LABlab(23.19, 43.80, -26.09)
CIE-LCHlch(23.19, 50.98, 329.21°)
OKLaboklab(35.69% 0.1238 -0.0722)
OKLCHoklch(35.69% 0.143 329.8)
XYZxyz(7.3188, 3.8561, 11.1831)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62125F #126215
analogous
#3D1262 #62125F #621237
triadic
#62125F #5F6212 #125F62
tetradic
#62125F #623D12 #126215 #123762
square
#62125F #623D12 #126215 #123762
split-complementary
#62125F #376212 #12623D
monochromatic
#1A0519 #2E092D #62125F #961B91 #C925C3

Accessibility & contrast

On white

11.86
#62125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62125F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62125F#FFFFFF#000000##FFFFFF
##62125F1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053061
Deuteranopia (green-blind)
#2B3B5D
Tritanopia (blue-blind)
#661E38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #62125f;
/* rgb */ color: rgb(98, 18, 95);
/* oklch */ color: oklch(35.7% 0.143 329.8);
Tailwind
colors: {
  custom: {
    50: '#925b8d',
    500: '#62125f',
    950: '#000000',
  },
}
SCSS
$custom: #62125f;
$custom-light: #925b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#62125f",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 302.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35686,
    "c": 0.14328,
    "h": 329.8
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#62125F
secondary
#369A3A
accent
#EC433C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #62125F

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

Preview Lab → · Contrast checker → · Palette generator →

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