#62336E#62336E

#62336E is a dark, moderate purple. Relative luminance 0.061; OKLCH L 40.7% C 0.109 H 319.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#62336E
RGBrgb(98, 51, 110)
HSLhsl(288, 37%, 32%)
HSVhsv(288, 54%, 43%)
CMYKcmyk(10.9%, 53.6%, 0%, 56.9%)
CIE-LABlab(29.64, 31.47, -25.62)
CIE-LCHlch(29.64, 40.58, 320.84°)
OKLaboklab(40.66% 0.0823 -0.0711)
OKLCHoklch(40.66% 0.109 319.2)
XYZxyz(9.0349, 6.0905, 15.4485)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62336E #3F6E33
analogous
#45336E #62336E #6E335D
triadic
#62336E #6E6233 #336E62
tetradic
#62336E #6E4533 #3F6E33 #335D6E
square
#62336E #6E4533 #3F6E33 #335D6E
split-complementary
#62336E #5D6E33 #336E45
monochromatic
#170C1A #3D2044 #62336E #874698 #A664B7

Accessibility & contrast

On white

9.47
#62336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#62336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62336E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62336E#FFFFFF#000000##FFFFFF
##62336E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284370
Deuteranopia (green-blind)
#37476C
Tritanopia (blue-blind)
#623B4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62336e;
/* rgb */ color: rgb(98, 51, 110);
/* oklch */ color: oklch(40.7% 0.109 319.2);
Tailwind
colors: {
  custom: {
    50: '#906d98',
    500: '#62336e',
    950: '#000000',
  },
}
SCSS
$custom: #62336e;
$custom-light: #906d98;
$custom-dark: #000000;
JSON
{
  "hex": "#62336e",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 287.797,
    "s": 36.646,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40655,
    "c": 0.10869,
    "h": 319.2
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#62336E
secondary
#6B9F5E
accent
#CD5B72
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070D
muted
#7E7A7E

Preview Lab

Preview with #62336E

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

Preview Lab → · Contrast checker → · Palette generator →

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