#62287B#62287B

#62287B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.9% C 0.141 H 314.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#62287B
RGBrgb(98, 40, 123)
HSLhsl(282, 51%, 32%)
HSVhsv(282, 67%, 48%)
CMYKcmyk(20.3%, 67.5%, 0%, 51.8%)
CIE-LABlab(28.23, 40.32, -36.11)
CIE-LCHlch(28.23, 54.12, 318.16°)
OKLaboklab(39.88% 0.0983 -0.1015)
OKLCHoklch(39.88% 0.141 314.1)
XYZxyz(9.3703, 5.5446, 19.3117)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62287B #417B28
analogous
#39287B #62287B #7B286B
triadic
#62287B #7B6228 #287B62
tetradic
#62287B #7B3928 #417B28 #286B7B
square
#62287B #7B3928 #417B28 #286B7B
split-complementary
#62287B #6B7B28 #287B39
monochromatic
#180A1F #3D194D #62287B #8737A9 #A556C8

Accessibility & contrast

On white

9.96
#62287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#62287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62287B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62287B#FFFFFF#000000##FFFFFF
##62287B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7E
Deuteranopia (green-blind)
#244479
Tritanopia (blue-blind)
#60384E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62287b;
/* rgb */ color: rgb(98, 40, 123);
/* oklch */ color: oklch(39.9% 0.141 314.1);
Tailwind
colors: {
  custom: {
    50: '#9166a2',
    500: '#62287b',
    950: '#000000',
  },
}
SCSS
$custom: #62287b;
$custom-light: #9166a2;
$custom-dark: #000000;
JSON
{
  "hex": "#62287b",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 281.928,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39882,
    "c": 0.1413,
    "h": 314.1
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#62287B
secondary
#6DAD52
accent
#DA4D78
background
#F9F6FA
surface
#F1EBF3
border
#CBC6CD
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #62287B

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

Preview Lab → · Contrast checker → · Palette generator →

#62287B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva