#62189B#62189B

#62189B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.8% C 0.192 H 304.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#62189B
RGBrgb(98, 24, 155)
HSLhsl(274, 73%, 35%)
HSVhsv(274, 85%, 61%)
CMYKcmyk(36.8%, 84.5%, 0%, 39.2%)
CIE-LABlab(28.42, 54.22, -55.67)
CIE-LCHlch(28.42, 77.72, 314.24°)
OKLaboklab(40.79% 0.1074 -0.1589)
OKLCHoklch(40.79% 0.192 304.1)
XYZxyz(11.2786, 5.6165, 31.4939)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62189B #519B18
analogous
#20189B #62189B #9B1892
triadic
#62189B #9B6218 #189B62
tetradic
#62189B #9B2018 #519B18 #18929B
square
#62189B #9B2018 #519B18 #18929B
split-complementary
#62189B #929B18 #189B20
monochromatic
#1F0831 #401066 #62189B #8420D0 #A14AE3

Accessibility & contrast

On white

9.89
#62189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#62189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62189B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62189B#FFFFFF#000000##FFFFFF
##62189B1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#563D5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62189b;
/* rgb */ color: rgb(98, 24, 155);
/* oklch */ color: oklch(40.8% 0.192 304.1);
Tailwind
colors: {
  custom: {
    50: '#9560b9',
    500: '#62189b',
    950: '#000000',
  },
}
SCSS
$custom: #62189b;
$custom-light: #9560b9;
$custom-dark: #000000;
JSON
{
  "hex": "#62189b",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 273.893,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.19178,
    "h": 304.1
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#62189B
secondary
#7FC54A
accent
#F03888
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #62189B

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

Preview Lab → · Contrast checker → · Palette generator →

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