#62148D#62148D

#62148D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.182 H 309.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#62148D
RGBrgb(98, 20, 141)
HSLhsl(279, 75%, 32%)
HSVhsv(279, 86%, 55%)
CMYKcmyk(30.5%, 85.8%, 0%, 44.7%)
CIE-LABlab(26.79, 52.33, -49.71)
CIE-LCHlch(26.79, 72.18, 316.47°)
OKLaboklab(39.29% 0.1145 -0.1413)
OKLCHoklch(39.29% 0.182 309)
XYZxyz(10.0939, 5.0203, 25.6314)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62148D #3F8D14
analogous
#26148D #62148D #8D147C
triadic
#62148D #8D6214 #148D62
tetradic
#62148D #8D2614 #3F8D14 #147C8D
square
#62148D #8D2614 #3F8D14 #147C8D
split-complementary
#62148D #7C8D14 #148D26
monochromatic
#170522 #3D0C57 #62148D #871CC3 #A639E3

Accessibility & contrast

On white

10.48
#62148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#62148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62148D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62148D#FFFFFF#000000##FFFFFF
##62148D1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#5B3653
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #62148d;
/* rgb */ color: rgb(98, 20, 141);
/* oklch */ color: oklch(39.3% 0.182 309.0);
Tailwind
colors: {
  custom: {
    50: '#945eaf',
    500: '#62148d',
    950: '#000000',
  },
}
SCSS
$custom: #62148d;
$custom-light: #945eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#62148d",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 278.678,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39291,
    "c": 0.18188,
    "h": 309
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#62148D
secondary
#6BC13C
accent
#F23679
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62148D

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

Preview Lab → · Contrast checker → · Palette generator →

#62148D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva