#62138E#62138E

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

Color values

HEX#62138E
RGBrgb(98, 19, 142)
HSLhsl(279, 76%, 32%)
HSVhsv(279, 87%, 56%)
CMYKcmyk(31%, 86.6%, 0%, 44.3%)
CIE-LABlab(26.78, 52.83, -50.35)
CIE-LCHlch(26.78, 72.99, 316.38°)
OKLaboklab(39.31% 0.1148 -0.1432)
OKLCHoklch(39.31% 0.184 308.7)
XYZxyz(10.1513, 5.0156, 26.0193)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62138E #3F8E13
analogous
#25138E #62138E #8E137D
triadic
#62138E #8E6213 #138E62
tetradic
#62138E #8E2513 #3F8E13 #137D8E
square
#62138E #8E2513 #3F8E13 #137D8E
split-complementary
#62138E #7D8E13 #138E25
monochromatic
#170522 #3D0C58 #62138E #871AC4 #A637E4

Accessibility & contrast

On white

10.48
#62138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#62138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62138E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62138E#FFFFFF#000000##FFFFFF
##62138E1.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)
#003D91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#5B3653
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #62138e;
/* rgb */ color: rgb(98, 19, 142);
/* oklch */ color: oklch(39.3% 0.184 308.7);
Tailwind
colors: {
  custom: {
    50: '#945eb0',
    500: '#62138e',
    950: '#000000',
  },
}
SCSS
$custom: #62138e;
$custom-light: #945eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#62138e",
  "rgb": {
    "r": 98,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 278.537,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39308,
    "c": 0.18356,
    "h": 308.7
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#62138E
secondary
#6BC23B
accent
#F33579
background
#F9F5FA
surface
#F2EAF5
border
#CCC6CF
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #62138E

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

Preview Lab → · Contrast checker → · Palette generator →

#62138E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva