#62107E#62107E

#62107E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.172 H 315.0°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#62107E
RGBrgb(98, 16, 126)
HSLhsl(285, 77%, 28%)
HSVhsv(285, 87%, 49%)
CMYKcmyk(22.2%, 87.3%, 0%, 50.6%)
CIE-LABlab(25.18, 50.29, -42.92)
CIE-LCHlch(25.18, 66.12, 319.52°)
OKLaboklab(37.79% 0.1212 -0.1214)
OKLCHoklch(37.79% 0.172 315)
XYZxyz(8.9876, 4.4740, 20.1247)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62107E #2C7E10
analogous
#2B107E #62107E #7E1063
triadic
#62107E #7E6210 #107E62
tetradic
#62107E #7E2B10 #2C7E10 #10637E
square
#62107E #7E2B10 #2C7E10 #10637E
split-complementary
#62107E #637E10 #107E2B
monochromatic
#15031B #380948 #62107E #8C17B4 #B325E3

Accessibility & contrast

On white

11.08
#62107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#62107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62107E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62107E#FFFFFF#000000##FFFFFF
##62107E1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#063E7C
Tritanopia (blue-blind)
#5F2D4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #62107e;
/* rgb */ color: rgb(98, 16, 126);
/* oklch */ color: oklch(37.8% 0.172 315.0);
Tailwind
colors: {
  custom: {
    50: '#935ca4',
    500: '#62107e',
    950: '#000000',
  },
}
SCSS
$custom: #62107e;
$custom-light: #935ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#62107e",
  "rgb": {
    "r": 98,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 284.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.17154,
    "h": 315
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#62107E
secondary
#56B436
accent
#F43465
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #62107E

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

Preview Lab → · Contrast checker → · Palette generator →

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