#62239E#62239E

#62239E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.185 H 302.1°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#62239E
RGBrgb(98, 35, 158)
HSLhsl(271, 64%, 38%)
HSVhsv(271, 78%, 62%)
CMYKcmyk(38%, 77.8%, 0%, 38%)
CIE-LABlab(30.08, 50.88, -54.80)
CIE-LCHlch(30.08, 74.78, 312.87°)
OKLaboklab(42.03% 0.098 -0.1564)
OKLCHoklch(42.03% 0.185 302.1)
XYZxyz(11.8081, 6.2673, 32.9287)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62239E #5F9E23
analogous
#25239E #62239E #9E239C
triadic
#62239E #9E6223 #239E62
tetradic
#62239E #9E2523 #5F9E23 #239C9E
square
#62239E #9E2523 #5F9E23 #239C9E
split-complementary
#62239E #9C9E23 #239E25
monochromatic
#240D3A #43186C #62239E #812ED0 #9F60DC

Accessibility & contrast

On white

9.32
#62239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#62239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62239E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62239E#FFFFFF#000000##FFFFFF
##62239E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#554360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62239e;
/* rgb */ color: rgb(98, 35, 158);
/* oklch */ color: oklch(42.0% 0.185 302.1);
Tailwind
colors: {
  custom: {
    50: '#9565bc',
    500: '#62239e',
    950: '#000000',
  },
}
SCSS
$custom: #62239e;
$custom-light: #9565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62239e",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 270.732,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.18456,
    "h": 302.1
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#62239E
secondary
#8DC15C
accent
#E74192
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62239E

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

Preview Lab → · Contrast checker → · Palette generator →

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