#62167F#62167F

#62167F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.167 H 314.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#62167F
RGBrgb(98, 22, 127)
HSLhsl(283, 70%, 29%)
HSVhsv(283, 83%, 50%)
CMYKcmyk(22.8%, 82.7%, 0%, 50.2%)
CIE-LABlab(25.87, 48.71, -42.44)
CIE-LCHlch(25.87, 64.60, 318.94°)
OKLaboklab(38.29% 0.1166 -0.12)
OKLCHoklch(38.29% 0.167 314.2)
XYZxyz(9.1540, 4.7031, 20.5001)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62167F #337F16
analogous
#2E167F #62167F #7F1668
triadic
#62167F #7F6216 #167F62
tetradic
#62167F #7F2E16 #337F16 #16687F
square
#62167F #7F2E16 #337F16 #16687F
split-complementary
#62167F #687F16 #167F2E
monochromatic
#14051A #3A0D4B #62167F #8A1FB3 #AD34DC

Accessibility & contrast

On white

10.82
#62167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#62167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62167F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62167F#FFFFFF#000000##FFFFFF
##62167F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#0B3F7D
Tritanopia (blue-blind)
#5F304B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #62167f;
/* rgb */ color: rgb(98, 22, 127);
/* oklch */ color: oklch(38.3% 0.167 314.2);
Tailwind
colors: {
  custom: {
    50: '#935ea5',
    500: '#62167f',
    950: '#000000',
  },
}
SCSS
$custom: #62167f;
$custom-light: #935ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#62167f",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 283.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38294,
    "c": 0.16728,
    "h": 314.2
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#62167F
secondary
#5EB43D
accent
#ED3B6C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #62167F

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

Preview Lab → · Contrast checker → · Palette generator →

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