#62298B#62298B

#62298B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.157 H 307.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#62298B
RGBrgb(98, 41, 139)
HSLhsl(275, 54%, 35%)
HSVhsv(275, 71%, 55%)
CMYKcmyk(29.5%, 70.5%, 0%, 45.5%)
CIE-LABlab(29.53, 43.58, -44.03)
CIE-LCHlch(29.53, 61.95, 314.71°)
OKLaboklab(41.17% 0.0957 -0.1248)
OKLCHoklch(41.17% 0.157 307.5)
XYZxyz(10.4892, 6.0468, 25.0357)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62298B #528B29
analogous
#31298B #62298B #8B2983
triadic
#62298B #8B6229 #298B62
tetradic
#62298B #8B3129 #528B29 #29838B
square
#62298B #8B3129 #528B29 #29838B
split-complementary
#62298B #838B29 #298B31
monochromatic
#1F0D2C #411B5C #62298B #8337BA #A05FD0

Accessibility & contrast

On white

9.50
#62298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#62298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62298B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62298B#FFFFFF#000000##FFFFFF
##62298B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#104689
Tritanopia (blue-blind)
#5B3F57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62298b;
/* rgb */ color: rgb(98, 41, 139);
/* oklch */ color: oklch(41.2% 0.157 307.5);
Tailwind
colors: {
  custom: {
    50: '#9267ad',
    500: '#62298b',
    950: '#000000',
  },
}
SCSS
$custom: #62298b;
$custom-light: #9267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#62298b",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 274.898,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4117,
    "c": 0.15724,
    "h": 307.5
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#62298B
secondary
#80B55B
accent
#DE4A88
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #62298B

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

Preview Lab → · Contrast checker → · Palette generator →

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