#62148B#62148B

#62148B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.180 H 309.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#62148B
RGBrgb(98, 20, 139)
HSLhsl(279, 75%, 31%)
HSVhsv(279, 86%, 55%)
CMYKcmyk(29.5%, 85.6%, 0%, 45.5%)
CIE-LABlab(26.62, 51.90, -48.74)
CIE-LCHlch(26.62, 71.19, 316.80°)
OKLaboklab(39.12% 0.1151 -0.1385)
OKLCHoklch(39.12% 0.18 309.7)
XYZxyz(9.9464, 4.9613, 24.8547)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62148B #3D8B14
analogous
#26148B #62148B #8B1478
triadic
#62148B #8B6214 #148B62
tetradic
#62148B #8B2614 #3D8B14 #14788B
square
#62148B #8B2614 #3D8B14 #14788B
split-complementary
#62148B #788B14 #148B26
monochromatic
#170520 #3C0C55 #62148B #881CC1 #A737E2

Accessibility & contrast

On white

10.54
#62148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#62148B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62148B
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62148B#FFFFFF#000000##FFFFFF
##62148B1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#5C3552
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #62148b;
/* rgb */ color: rgb(98, 20, 139);
/* oklch */ color: oklch(39.1% 0.180 309.7);
Tailwind
colors: {
  custom: {
    50: '#945eae',
    500: '#62148b',
    950: '#000000',
  },
}
SCSS
$custom: #62148b;
$custom-light: #945eae;
$custom-dark: #000000;
JSON
{
  "hex": "#62148b",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 279.328,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.18004,
    "h": 309.7
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#62148B
secondary
#69BF3C
accent
#F13677
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #62148B

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

Preview Lab → · Contrast checker → · Palette generator →

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