#62298C#62298C

#62298C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.158 H 307.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#62298C
RGBrgb(98, 41, 140)
HSLhsl(275, 55%, 35%)
HSVhsv(275, 71%, 55%)
CMYKcmyk(30%, 70.7%, 0%, 45.1%)
CIE-LABlab(29.60, 43.82, -44.53)
CIE-LCHlch(29.60, 62.47, 314.54°)
OKLaboklab(41.25% 0.0956 -0.1262)
OKLCHoklch(41.25% 0.158 307.1)
XYZxyz(10.5626, 6.0761, 25.4222)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62298C #538C29
analogous
#30298C #62298C #8C2984
triadic
#62298C #8C6229 #298C62
tetradic
#62298C #8C3029 #538C29 #29848C
square
#62298C #8C3029 #538C29 #29848C
split-complementary
#62298C #848C29 #298C30
monochromatic
#200D2D #411B5D #62298C #8337BB #A05FD0

Accessibility & contrast

On white

9.48
#62298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62298C
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62298C#FFFFFF#000000##FFFFFF
##62298C1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#0D468A
Tritanopia (blue-blind)
#5B3F57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62298c;
/* rgb */ color: rgb(98, 41, 140);
/* oklch */ color: oklch(41.2% 0.158 307.1);
Tailwind
colors: {
  custom: {
    50: '#9368ae',
    500: '#62298c',
    950: '#000000',
  },
}
SCSS
$custom: #62298c;
$custom-light: #9368ae;
$custom-dark: #000000;
JSON
{
  "hex": "#62298c",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 274.545,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.15833,
    "h": 307.1
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#62298C
secondary
#82B65B
accent
#DE4A89
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #62298C

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

Preview Lab → · Contrast checker → · Palette generator →

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