#62298D#62298D

#62298D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.159 H 306.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#62298D
RGBrgb(98, 41, 141)
HSLhsl(274, 55%, 36%)
HSVhsv(274, 71%, 55%)
CMYKcmyk(30.5%, 70.9%, 0%, 44.7%)
CIE-LABlab(29.68, 44.06, -45.03)
CIE-LCHlch(29.68, 63.00, 314.38°)
OKLaboklab(41.32% 0.0954 -0.1277)
OKLCHoklch(41.32% 0.159 306.8)
XYZxyz(10.6366, 6.1058, 25.8123)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62298D #548D29
analogous
#30298D #62298D #8D2986
triadic
#62298D #8D6229 #298D62
tetradic
#62298D #8D3029 #548D29 #29868D
square
#62298D #8D3029 #548D29 #29868D
split-complementary
#62298D #868D29 #298D30
monochromatic
#200D2E #411B5E #62298D #8337BC #A060D1

Accessibility & contrast

On white

9.45
#62298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#62298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62298D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62298D#FFFFFF#000000##FFFFFF
##62298D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#0B468B
Tritanopia (blue-blind)
#5B3F58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62298d;
/* rgb */ color: rgb(98, 41, 141);
/* oklch */ color: oklch(41.3% 0.159 306.8);
Tailwind
colors: {
  custom: {
    50: '#9368af',
    500: '#62298d',
    950: '#000000',
  },
}
SCSS
$custom: #62298d;
$custom-light: #9368af;
$custom-dark: #000000;
JSON
{
  "hex": "#62298d",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 274.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41322,
    "c": 0.15943,
    "h": 306.8
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#62298D
secondary
#83B65B
accent
#DE4A89
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #62298D

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

Preview Lab → · Contrast checker → · Palette generator →

#62298D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva