#62299C#62299C

#62299C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.176 H 301.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#62299C
RGBrgb(98, 41, 156)
HSLhsl(270, 58%, 39%)
HSVhsv(270, 74%, 61%)
CMYKcmyk(37.2%, 73.7%, 0%, 38.8%)
CIE-LABlab(30.84, 47.75, -52.35)
CIE-LCHlch(30.84, 70.85, 312.37°)
OKLaboklab(42.51% 0.0929 -0.1492)
OKLCHoklch(42.51% 0.176 301.9)
XYZxyz(11.8292, 6.5828, 32.0934)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62299C #639C29
analogous
#29299C #62299C #9B299C
triadic
#62299C #9C6229 #299C62
tetradic
#62299C #9C2929 #639C29 #299C9B
square
#62299C #9C2929 #639C29 #299C9B
split-complementary
#62299C #9C9B29 #299C29
monochromatic
#25103B #441C6C #62299C #8038CB #9F68D7

Accessibility & contrast

On white

9.07
#62299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#62299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62299C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62299C#FFFFFF#000000##FFFFFF
##62299C1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#564560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #62299c;
/* rgb */ color: rgb(98, 41, 156);
/* oklch */ color: oklch(42.5% 0.176 301.9);
Tailwind
colors: {
  custom: {
    50: '#9468ba',
    500: '#62299c',
    950: '#000000',
  },
}
SCSS
$custom: #62299c;
$custom-light: #9468ba;
$custom-dark: #000000;
JSON
{
  "hex": "#62299c",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 269.739,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42511,
    "c": 0.17577,
    "h": 301.9
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#62299C
secondary
#91BE63
accent
#E24695
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #62299C

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

Preview Lab → · Contrast checker → · Palette generator →

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