#62287F#62287F

#62287F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.146 H 312.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#62287F
RGBrgb(98, 40, 127)
HSLhsl(280, 52%, 33%)
HSVhsv(280, 69%, 50%)
CMYKcmyk(22.8%, 68.5%, 0%, 50.2%)
CIE-LABlab(28.50, 41.24, -38.19)
CIE-LCHlch(28.50, 56.21, 317.20°)
OKLaboklab(40.16% 0.098 -0.1076)
OKLCHoklch(40.16% 0.146 312.3)
XYZxyz(9.6259, 5.6468, 20.6574)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62287F #457F28
analogous
#36287F #62287F #7F2870
triadic
#62287F #7F6228 #287F62
tetradic
#62287F #7F3628 #457F28 #28707F
square
#62287F #7F3628 #457F28 #28707F
split-complementary
#62287F #707F28 #287F36
monochromatic
#1A0B22 #3E1950 #62287F #8637AE #A457CA

Accessibility & contrast

On white

9.86
#62287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#62287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62287F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62287F#FFFFFF#000000##FFFFFF
##62287F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#5F3950
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62287f;
/* rgb */ color: rgb(98, 40, 127);
/* oklch */ color: oklch(40.2% 0.146 312.3);
Tailwind
colors: {
  custom: {
    50: '#9266a5',
    500: '#62287f',
    950: '#000000',
  },
}
SCSS
$custom: #62287f;
$custom-light: #9266a5;
$custom-dark: #000000;
JSON
{
  "hex": "#62287f",
  "rgb": {
    "r": 98,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 280,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40163,
    "c": 0.1456,
    "h": 312.3
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#62287F
secondary
#72AF54
accent
#DC4C7C
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #62287F

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

Preview Lab → · Contrast checker → · Palette generator →

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