#62189F#62189F

#62189F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.196 H 302.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#62189F
RGBrgb(98, 24, 159)
HSLhsl(273, 74%, 36%)
HSVhsv(273, 85%, 62%)
CMYKcmyk(38.4%, 84.9%, 0%, 37.6%)
CIE-LABlab(28.78, 55.14, -57.53)
CIE-LCHlch(28.78, 79.69, 313.78°)
OKLaboklab(41.15% 0.1061 -0.1643)
OKLCHoklch(41.15% 0.196 302.8)
XYZxyz(11.6201, 5.7531, 33.2924)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62189F #559F18
analogous
#1F189F #62189F #9F1898
triadic
#62189F #9F6218 #189F62
tetradic
#62189F #9F1F18 #559F18 #18989F
square
#62189F #9F1F18 #559F18 #18989F
split-complementary
#62189F #989F18 #189F1F
monochromatic
#200835 #41106A #62189F #8320D4 #A04DE4

Accessibility & contrast

On white

9.76
#62189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#62189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62189F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62189F#FFFFFF#000000##FFFFFF
##62189F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#553F5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #62189f;
/* rgb */ color: rgb(98, 24, 159);
/* oklch */ color: oklch(41.2% 0.196 302.8);
Tailwind
colors: {
  custom: {
    50: '#9561bc',
    500: '#62189f',
    950: '#000000',
  },
}
SCSS
$custom: #62189f;
$custom-light: #9561bc;
$custom-dark: #000000;
JSON
{
  "hex": "#62189f",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 272.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41152,
    "c": 0.19558,
    "h": 302.8
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#62189F
secondary
#84C64D
accent
#F0378B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #62189F

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

Preview Lab → · Contrast checker → · Palette generator →

#62189F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva