#62188C#62188C

#62188C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.178 H 309.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#62188C
RGBrgb(98, 24, 140)
HSLhsl(278, 71%, 32%)
HSVhsv(278, 83%, 55%)
CMYKcmyk(30%, 82.9%, 0%, 45.1%)
CIE-LABlab(27.14, 50.85, -48.52)
CIE-LCHlch(27.14, 70.29, 316.34°)
OKLaboklab(39.51% 0.1119 -0.1379)
OKLCHoklch(39.51% 0.178 309)
XYZxyz(10.0963, 5.1436, 25.2668)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62188C #428C18
analogous
#28188C #62188C #8C187C
triadic
#62188C #8C6218 #188C62
tetradic
#62188C #8C2818 #428C18 #187C8C
square
#62188C #8C2818 #428C18 #187C8C
split-complementary
#62188C #7C8C18 #188C28
monochromatic
#190624 #3D0F58 #62188C #8721C0 #A540DE

Accessibility & contrast

On white

10.35
#62188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#62188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62188C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62188C#FFFFFF#000000##FFFFFF
##62188C1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#5B3753
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62188c;
/* rgb */ color: rgb(98, 24, 140);
/* oklch */ color: oklch(39.5% 0.178 309.0);
Tailwind
colors: {
  custom: {
    50: '#945fae',
    500: '#62188c',
    950: '#000000',
  },
}
SCSS
$custom: #62188c;
$custom-light: #945fae;
$custom-dark: #000000;
JSON
{
  "hex": "#62188c",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 278.276,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.17754,
    "h": 309
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#62188C
secondary
#6FBF41
accent
#ED3A7B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62188C

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

Preview Lab → · Contrast checker → · Palette generator →

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