#62168C#62168C

#62168C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.179 H 309.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#62168C
RGBrgb(98, 22, 140)
HSLhsl(279, 73%, 32%)
HSVhsv(279, 84%, 55%)
CMYKcmyk(30%, 84.3%, 0%, 45.1%)
CIE-LABlab(26.92, 51.50, -48.89)
CIE-LCHlch(26.92, 71.01, 316.49°)
OKLaboklab(39.35% 0.1134 -0.1389)
OKLCHoklch(39.35% 0.179 309.2)
XYZxyz(10.0566, 5.0641, 25.2536)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62168C #408C16
analogous
#27168C #62168C #8C167B
triadic
#62168C #8C6216 #168C62
tetradic
#62168C #8C2716 #408C16 #167B8C
square
#62168C #8C2716 #408C16 #167B8C
split-complementary
#62168C #7B8C16 #168C27
monochromatic
#180522 #3D0E57 #62168C #871EC1 #A63CE0

Accessibility & contrast

On white

10.43
#62168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#62168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62168C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62168C#FFFFFF#000000##FFFFFF
##62168C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #62168c;
/* rgb */ color: rgb(98, 22, 140);
/* oklch */ color: oklch(39.4% 0.179 309.2);
Tailwind
colors: {
  custom: {
    50: '#945fae',
    500: '#62168c',
    950: '#000000',
  },
}
SCSS
$custom: #62168c;
$custom-light: #945fae;
$custom-dark: #000000;
JSON
{
  "hex": "#62168c",
  "rgb": {
    "r": 98,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 278.644,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39351,
    "c": 0.1793,
    "h": 309.2
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#62168C
secondary
#6CC03E
accent
#F03879
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62168C

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

Preview Lab → · Contrast checker → · Palette generator →

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