#62129F#62129F

#62129F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.8% C 0.200 H 303.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#62129F
RGBrgb(98, 18, 159)
HSLhsl(274, 80%, 35%)
HSVhsv(274, 89%, 62%)
CMYKcmyk(38.4%, 88.7%, 0%, 37.6%)
CIE-LABlab(28.20, 56.85, -58.48)
CIE-LCHlch(28.20, 81.56, 314.19°)
OKLaboklab(40.75% 0.1096 -0.1671)
OKLCHoklch(40.75% 0.2 303.3)
XYZxyz(11.5098, 5.5325, 33.2557)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62129F #4F9F12
analogous
#1C129F #62129F #9F1295
triadic
#62129F #9F6212 #129F62
tetradic
#62129F #9F1C12 #4F9F12 #12959F
square
#62129F #9F1C12 #4F9F12 #12959F
split-complementary
#62129F #959F12 #129F1C
monochromatic
#1E0631 #400C68 #62129F #8418D6 #A142EA

Accessibility & contrast

On white

9.97
#62129F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#62129F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62129F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62129F#FFFFFF#000000##FFFFFF
##62129F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#553D5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #62129f;
/* rgb */ color: rgb(98, 18, 159);
/* oklch */ color: oklch(40.8% 0.200 303.3);
Tailwind
colors: {
  custom: {
    50: '#955fbc',
    500: '#62129f',
    950: '#000000',
  },
}
SCSS
$custom: #62129f;
$custom-light: #955fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#62129f",
  "rgb": {
    "r": 98,
    "g": 18,
    "b": 159
  },
  "hsl": {
    "h": 274.043,
    "s": 79.661,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.19981,
    "h": 303.3
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#62129F
secondary
#7DCA43
accent
#F63287
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #62129F

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

Preview Lab → · Contrast checker → · Palette generator →

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