#62239D#62239D

#62239D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.184 H 302.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#62239D
RGBrgb(98, 35, 157)
HSLhsl(271, 64%, 38%)
HSVhsv(271, 78%, 62%)
CMYKcmyk(37.6%, 77.7%, 0%, 38.4%)
CIE-LABlab(29.99, 50.64, -54.33)
CIE-LCHlch(29.99, 74.27, 312.98°)
OKLaboklab(41.94% 0.0982 -0.155)
OKLCHoklch(41.94% 0.184 302.4)
XYZxyz(11.7224, 6.2330, 32.4773)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62239D #5E9D23
analogous
#25239D #62239D #9D239B
triadic
#62239D #9D6223 #239D62
tetradic
#62239D #9D2523 #5E9D23 #239B9D
square
#62239D #9D2523 #5E9D23 #239B9D
split-complementary
#62239D #9B9D23 #239D25
monochromatic
#240D39 #43186B #62239D #812ECF #9F5FDB

Accessibility & contrast

On white

9.35
#62239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62239D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62239D#FFFFFF#000000##FFFFFF
##62239D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#55435F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62239d;
/* rgb */ color: rgb(98, 35, 157);
/* oklch */ color: oklch(41.9% 0.184 302.4);
Tailwind
colors: {
  custom: {
    50: '#9465bb',
    500: '#62239d',
    950: '#000000',
  },
}
SCSS
$custom: #62239d;
$custom-light: #9465bb;
$custom-dark: #000000;
JSON
{
  "hex": "#62239d",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 270.984,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.18353,
    "h": 302.4
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#62239D
secondary
#8CC05C
accent
#E74191
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62239D

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

Preview Lab → · Contrast checker → · Palette generator →

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