#62299A#62299A

#62299A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.174 H 302.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#62299A
RGBrgb(98, 41, 154)
HSLhsl(270, 58%, 38%)
HSVhsv(270, 73%, 60%)
CMYKcmyk(36.4%, 73.4%, 0%, 39.6%)
CIE-LABlab(30.68, 47.25, -51.39)
CIE-LCHlch(30.68, 69.81, 312.60°)
OKLaboklab(42.35% 0.0933 -0.1464)
OKLCHoklch(42.35% 0.174 302.5)
XYZxyz(11.6613, 6.5156, 31.2089)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62299A #619A29
analogous
#29299A #62299A #9A299A
triadic
#62299A #9A6229 #299A62
tetradic
#62299A #9A2929 #619A29 #299A9A
square
#62299A #9A2929 #619A29 #299A9A
split-complementary
#62299A #9A9A29 #299A29
monochromatic
#240F39 #431C6A #62299A #8137CA #9F67D7

Accessibility & contrast

On white

9.12
#62299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#62299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62299A
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62299A#FFFFFF#000000##FFFFFF
##62299A1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#56455F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62299a;
/* rgb */ color: rgb(98, 41, 154);
/* oklch */ color: oklch(42.3% 0.174 302.5);
Tailwind
colors: {
  custom: {
    50: '#9468b9',
    500: '#62299a',
    950: '#000000',
  },
}
SCSS
$custom: #62299a;
$custom-light: #9468b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62299a",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 270.265,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.17359,
    "h": 302.5
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#62299A
secondary
#8FBD62
accent
#E14793
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #62299A

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

Preview Lab → · Contrast checker → · Palette generator →

#62299A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva