#62129D#62129D

#62129D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.6% C 0.198 H 303.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#62129D
RGBrgb(98, 18, 157)
HSLhsl(275, 79%, 34%)
HSVhsv(275, 89%, 62%)
CMYKcmyk(37.6%, 88.5%, 0%, 38.4%)
CIE-LABlab(28.02, 56.40, -57.56)
CIE-LCHlch(28.02, 80.59, 314.42°)
OKLaboklab(40.57% 0.1103 -0.1644)
OKLCHoklch(40.57% 0.198 303.9)
XYZxyz(11.3377, 5.4636, 32.3490)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62129D #4D9D12
analogous
#1C129D #62129D #9D1293
triadic
#62129D #9D6212 #129D62
tetradic
#62129D #9D1C12 #4D9D12 #12939D
square
#62129D #9D1C12 #4D9D12 #12939D
split-complementary
#62129D #939D12 #129D1C
monochromatic
#1D052F #400C66 #62129D #8418D4 #A140E9

Accessibility & contrast

On white

10.03
#62129D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#62129D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62129D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62129D#FFFFFF#000000##FFFFFF
##62129D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#563C5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #62129d;
/* rgb */ color: rgb(98, 18, 157);
/* oklch */ color: oklch(40.6% 0.198 303.9);
Tailwind
colors: {
  custom: {
    50: '#955ebb',
    500: '#62129d',
    950: '#000000',
  },
}
SCSS
$custom: #62129d;
$custom-light: #955ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#62129d",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 157
  },
  "hsl": {
    "h": 274.532,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4057,
    "c": 0.19798,
    "h": 303.9
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#62129D
secondary
#7BC942
accent
#F63285
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #62129D

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

Preview Lab → · Contrast checker → · Palette generator →

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