#62336D#62336D

#62336D is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.6% C 0.108 H 319.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#62336D
RGBrgb(98, 51, 109)
HSLhsl(289, 36%, 31%)
HSVhsv(289, 53%, 43%)
CMYKcmyk(10.1%, 53.2%, 0%, 57.3%)
CIE-LABlab(29.59, 31.25, -25.07)
CIE-LCHlch(29.59, 40.06, 321.26°)
OKLaboklab(40.6% 0.0821 -0.0695)
OKLCHoklch(40.6% 0.108 319.8)
XYZxyz(8.9808, 6.0688, 15.1634)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62336D #3E6D33
analogous
#45336D #62336D #6D335B
triadic
#62336D #6D6233 #336D62
tetradic
#62336D #6D4533 #3E6D33 #335B6D
square
#62336D #6D4533 #3E6D33 #335B6D
split-complementary
#62336D #5B6D33 #336D45
monochromatic
#170C1A #3D1F43 #62336D #874797 #A764B6

Accessibility & contrast

On white

9.49
#62336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#62336D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62336D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62336D#FFFFFF#000000##FFFFFF
##62336D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426F
Deuteranopia (green-blind)
#37476B
Tritanopia (blue-blind)
#633B4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62336d;
/* rgb */ color: rgb(98, 51, 109);
/* oklch */ color: oklch(40.6% 0.108 319.8);
Tailwind
colors: {
  custom: {
    50: '#906d97',
    500: '#62336d',
    950: '#000000',
  },
}
SCSS
$custom: #62336d;
$custom-light: #906d97;
$custom-dark: #000000;
JSON
{
  "hex": "#62336d",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 288.621,
    "s": 36.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40597,
    "c": 0.10755,
    "h": 319.8
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#62336D
secondary
#6A9E5E
accent
#CC5C71
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070D
muted
#7E7A7E

Preview Lab

Preview with #62336D

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

Preview Lab → · Contrast checker → · Palette generator →

#62336D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva