#62188F#62188F

#62188F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.180 H 308.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#62188F
RGBrgb(98, 24, 143)
HSLhsl(277, 71%, 33%)
HSVhsv(277, 83%, 56%)
CMYKcmyk(31.5%, 83.2%, 0%, 43.9%)
CIE-LABlab(27.39, 51.51, -49.98)
CIE-LCHlch(27.39, 71.78, 315.87°)
OKLaboklab(39.76% 0.111 -0.1422)
OKLCHoklch(39.76% 0.18 308)
XYZxyz(10.3205, 5.2333, 26.4477)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62188F #458F18
analogous
#27188F #62188F #8F1880
triadic
#62188F #8F6218 #188F62
tetradic
#62188F #8F2718 #458F18 #18808F
square
#62188F #8F2718 #458F18 #18808F
split-complementary
#62188F #808F18 #188F27
monochromatic
#1A0626 #3E0F5B #62188F #8621C3 #A442DF

Accessibility & contrast

On white

10.26
#62188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#62188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62188F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62188F#FFFFFF#000000##FFFFFF
##62188F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#5B3855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #62188f;
/* rgb */ color: rgb(98, 24, 143);
/* oklch */ color: oklch(39.8% 0.180 308.0);
Tailwind
colors: {
  custom: {
    50: '#9460b1',
    500: '#62188f',
    950: '#000000',
  },
}
SCSS
$custom: #62188f;
$custom-light: #9460b1;
$custom-dark: #000000;
JSON
{
  "hex": "#62188f",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 277.311,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39758,
    "c": 0.18038,
    "h": 308
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#62188F
secondary
#72C043
accent
#EE3A7E
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #62188F

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

Preview Lab → · Contrast checker → · Palette generator →

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