#62239C#62239C

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

Color values

HEX#62239C
RGBrgb(98, 35, 156)
HSLhsl(271, 63%, 37%)
HSVhsv(271, 78%, 61%)
CMYKcmyk(37.2%, 77.6%, 0%, 38.8%)
CIE-LABlab(29.91, 50.40, -53.86)
CIE-LCHlch(29.91, 73.76, 313.10°)
OKLaboklab(41.86% 0.0985 -0.1536)
OKLCHoklch(41.86% 0.182 302.7)
XYZxyz(11.6374, 6.1990, 32.0295)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62239C #5D9C23
analogous
#26239C #62239C #9C2399
triadic
#62239C #9C6223 #239C62
tetradic
#62239C #9C2623 #5D9C23 #23999C
square
#62239C #9C2623 #5D9C23 #23999C
split-complementary
#62239C #999C23 #239C26
monochromatic
#230D38 #43186A #62239C #812ECE #9F5EDB

Accessibility & contrast

On white

9.38
#62239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#62239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62239C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62239C#FFFFFF#000000##FFFFFF
##62239C1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#56425F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62239c;
/* rgb */ color: rgb(98, 35, 156);
/* oklch */ color: oklch(41.9% 0.182 302.7);
Tailwind
colors: {
  custom: {
    50: '#9465ba',
    500: '#62239c',
    950: '#000000',
  },
}
SCSS
$custom: #62239c;
$custom-light: #9465ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62239c",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 271.24,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.18249,
    "h": 302.7
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#62239C
secondary
#8BC05B
accent
#E64190
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62239C

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

Preview Lab → · Contrast checker → · Palette generator →

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