#62298E#62298E

#62298E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.161 H 306.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#62298E
RGBrgb(98, 41, 142)
HSLhsl(274, 55%, 36%)
HSVhsv(274, 71%, 56%)
CMYKcmyk(31%, 71.1%, 0%, 44.3%)
CIE-LABlab(29.75, 44.31, -45.52)
CIE-LCHlch(29.75, 63.52, 314.22°)
OKLaboklab(41.4% 0.0953 -0.1292)
OKLCHoklch(41.4% 0.161 306.4)
XYZxyz(10.7114, 6.1356, 26.2060)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62298E #558E29
analogous
#2F298E #62298E #8E2987
triadic
#62298E #8E6229 #298E62
tetradic
#62298E #8E2F29 #558E29 #29878E
square
#62298E #8E2F29 #558E29 #29878E
split-complementary
#62298E #878E29 #298E2F
monochromatic
#200E2F #411B5F #62298E #8337BD #A060D1

Accessibility & contrast

On white

9.43
#62298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#62298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62298E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62298E#FFFFFF#000000##FFFFFF
##62298E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#08468C
Tritanopia (blue-blind)
#5A4058
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #62298e;
/* rgb */ color: rgb(98, 41, 142);
/* oklch */ color: oklch(41.4% 0.161 306.4);
Tailwind
colors: {
  custom: {
    50: '#9368b0',
    500: '#62298e',
    950: '#000000',
  },
}
SCSS
$custom: #62298e;
$custom-light: #9368b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62298e",
  "rgb": {
    "r": 98,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 273.861,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41399,
    "c": 0.16052,
    "h": 306.4
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#62298E
secondary
#84B75C
accent
#DF498A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #62298E

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

Preview Lab → · Contrast checker → · Palette generator →

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