#62239F#62239F

#62239F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.186 H 301.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#62239F
RGBrgb(98, 35, 159)
HSLhsl(270, 64%, 38%)
HSVhsv(270, 78%, 62%)
CMYKcmyk(38.4%, 78%, 0%, 37.6%)
CIE-LABlab(30.16, 51.12, -55.27)
CIE-LCHlch(30.16, 75.29, 312.77°)
OKLaboklab(42.11% 0.0977 -0.1578)
OKLCHoklch(42.11% 0.186 301.8)
XYZxyz(11.8945, 6.3019, 33.3839)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62239F #609F23
analogous
#24239F #62239F #9F239E
triadic
#62239F #9F6223 #239F62
tetradic
#62239F #9F2423 #609F23 #239E9F
square
#62239F #9F2423 #609F23 #239E9F
split-complementary
#62239F #9E9F23 #239F24
monochromatic
#240D3B #43186D #62239F #812ED1 #9F60DC

Accessibility & contrast

On white

9.29
#62239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#62239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62239F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62239F#FFFFFF#000000##FFFFFF
##62239F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#554460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62239f;
/* rgb */ color: rgb(98, 35, 159);
/* oklch */ color: oklch(42.1% 0.186 301.8);
Tailwind
colors: {
  custom: {
    50: '#9565bc',
    500: '#62239f',
    950: '#000000',
  },
}
SCSS
$custom: #62239f;
$custom-light: #9565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62239f",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 270.484,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42112,
    "c": 0.18559,
    "h": 301.8
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#62239F
secondary
#8EC15D
accent
#E74193
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62239F

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

Preview Lab → · Contrast checker → · Palette generator →

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