#62118E#62118E

#62118E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.185 H 308.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#62118E
RGBrgb(98, 17, 142)
HSLhsl(279, 79%, 31%)
HSVhsv(279, 88%, 56%)
CMYKcmyk(31%, 88%, 0%, 44.3%)
CIE-LABlab(26.59, 53.38, -50.66)
CIE-LCHlch(26.59, 73.59, 316.50°)
OKLaboklab(39.18% 0.1161 -0.1441)
OKLCHoklch(39.18% 0.185 308.9)
XYZxyz(10.1189, 4.9507, 26.0085)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62118E #3D8E11
analogous
#23118E #62118E #8E117B
triadic
#62118E #8E6211 #118E62
tetradic
#62118E #8E2311 #3D8E11 #117B8E
square
#62118E #8E2311 #3D8E11 #117B8E
split-complementary
#62118E #7B8E11 #118E23
monochromatic
#170421 #3C0A57 #62118E #8818C5 #A733E7

Accessibility & contrast

On white

10.55
#62118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#62118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62118E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62118E#FFFFFF#000000##FFFFFF
##62118E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#5B3553
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #62118e;
/* rgb */ color: rgb(98, 17, 142);
/* oklch */ color: oklch(39.2% 0.185 308.9);
Tailwind
colors: {
  custom: {
    50: '#945db0',
    500: '#62118e',
    950: '#000000',
  },
}
SCSS
$custom: #62118e;
$custom-light: #945db0;
$custom-dark: #000000;
JSON
{
  "hex": "#62118e",
  "rgb": {
    "r": 98,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 278.88,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3918,
    "c": 0.18502,
    "h": 308.9
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#62118E
secondary
#69C238
accent
#F53377
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #62118E

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

Preview Lab → · Contrast checker → · Palette generator →

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