#62299B#62299B

#62299B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.175 H 302.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#62299B
RGBrgb(98, 41, 155)
HSLhsl(270, 58%, 38%)
HSVhsv(270, 74%, 61%)
CMYKcmyk(36.8%, 73.5%, 0%, 39.2%)
CIE-LABlab(30.76, 47.50, -51.87)
CIE-LCHlch(30.76, 70.33, 312.48°)
OKLaboklab(42.43% 0.093 -0.1478)
OKLCHoklch(42.43% 0.175 302.2)
XYZxyz(11.7449, 6.5491, 31.6493)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62299B #629B29
analogous
#29299B #62299B #9B299B
triadic
#62299B #9B6229 #299B62
tetradic
#62299B #9B2929 #629B29 #299B9B
square
#62299B #9B2929 #629B29 #299B9B
split-complementary
#62299B #9B9B29 #299B29
monochromatic
#250F3A #431C6B #62299B #8137CA #9F67D7

Accessibility & contrast

On white

9.09
#62299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#62299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62299B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62299B#FFFFFF#000000##FFFFFF
##62299B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#56455F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #62299b;
/* rgb */ color: rgb(98, 41, 155);
/* oklch */ color: oklch(42.4% 0.175 302.2);
Tailwind
colors: {
  custom: {
    50: '#9468b9',
    500: '#62299b',
    950: '#000000',
  },
}
SCSS
$custom: #62299b;
$custom-light: #9468b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62299b",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 270,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.17468,
    "h": 302.2
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#62299B
secondary
#90BD63
accent
#E14694
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62299B

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

Preview Lab → · Contrast checker → · Palette generator →

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