#62239B#62239B

#62239B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.181 H 303.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#62239B
RGBrgb(98, 35, 155)
HSLhsl(272, 63%, 37%)
HSVhsv(272, 77%, 61%)
CMYKcmyk(36.8%, 77.4%, 0%, 39.2%)
CIE-LABlab(29.83, 50.15, -53.39)
CIE-LCHlch(29.83, 73.25, 313.21°)
OKLaboklab(41.77% 0.0987 -0.1522)
OKLCHoklch(41.77% 0.181 303)
XYZxyz(11.5530, 6.1653, 31.5854)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62239B #5C9B23
analogous
#26239B #62239B #9B2398
triadic
#62239B #9B6223 #239B62
tetradic
#62239B #9B2623 #5C9B23 #23989B
square
#62239B #9B2623 #5C9B23 #23989B
split-complementary
#62239B #989B23 #239B26
monochromatic
#230C37 #421869 #62239B #822ECD #9F5EDB

Accessibility & contrast

On white

9.40
#62239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#62239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62239B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62239B#FFFFFF#000000##FFFFFF
##62239B1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#56425E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62239b;
/* rgb */ color: rgb(98, 35, 155);
/* oklch */ color: oklch(41.8% 0.181 303.0);
Tailwind
colors: {
  custom: {
    50: '#9465b9',
    500: '#62239b',
    950: '#000000',
  },
}
SCSS
$custom: #62239b;
$custom-light: #9465b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62239b",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 271.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41773,
    "c": 0.18146,
    "h": 303
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#62239B
secondary
#8ABF5A
accent
#E64290
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62239B

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

Preview Lab → · Contrast checker → · Palette generator →

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