#62148F#62148F

#62148F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.184 H 308.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#62148F
RGBrgb(98, 20, 143)
HSLhsl(278, 75%, 32%)
HSVhsv(278, 86%, 56%)
CMYKcmyk(31.5%, 86%, 0%, 43.9%)
CIE-LABlab(26.96, 52.76, -50.67)
CIE-LCHlch(26.96, 73.16, 316.16°)
OKLaboklab(39.46% 0.1139 -0.1442)
OKLCHoklch(39.46% 0.184 308.3)
XYZxyz(10.2440, 5.0803, 26.4222)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62148F #418F14
analogous
#25148F #62148F #8F147F
triadic
#62148F #8F6214 #148F62
tetradic
#62148F #8F2514 #418F14 #147F8F
square
#62148F #8F2514 #418F14 #147F8F
split-complementary
#62148F #7F8F14 #148F25
monochromatic
#180524 #3D0C59 #62148F #871CC5 #A53AE3

Accessibility & contrast

On white

10.42
#62148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#62148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62148F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62148F#FFFFFF#000000##FFFFFF
##62148F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#5B3654
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #62148f;
/* rgb */ color: rgb(98, 20, 143);
/* oklch */ color: oklch(39.5% 0.184 308.3);
Tailwind
colors: {
  custom: {
    50: '#945eb1',
    500: '#62148f',
    950: '#000000',
  },
}
SCSS
$custom: #62148f;
$custom-light: #945eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#62148f",
  "rgb": {
    "r": 98,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 278.049,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.18372,
    "h": 308.3
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#62148F
secondary
#6DC33C
accent
#F2367B
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #62148F

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

Preview Lab → · Contrast checker → · Palette generator →

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