#62135A#62135A

#62135A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.138 H 332.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#62135A
RGBrgb(98, 19, 90)
HSLhsl(306, 68%, 23%)
HSVhsv(306, 81%, 38%)
CMYKcmyk(0%, 80.6%, 8.2%, 61.6%)
CIE-LABlab(23.00, 42.61, -23.08)
CIE-LCHlch(23.00, 48.46, 331.56°)
OKLaboklab(35.46% 0.1228 -0.0634)
OKLCHoklch(35.46% 0.138 332.7)
XYZxyz(7.1154, 3.8012, 10.0298)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62135A #13621B
analogous
#421362 #62135A #621332
triadic
#62135A #5A6213 #135A62
tetradic
#62135A #624213 #13621B #133262
square
#62135A #624213 #13621B #133262
split-complementary
#62135A #326213 #136242
monochromatic
#1A0518 #2F092B #62135A #951D89 #C927B8

Accessibility & contrast

On white

11.93
#62135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#62135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62135A
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62135A#FFFFFF#000000##FFFFFF
##62135A1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E305C
Deuteranopia (green-blind)
#2E3B58
Tritanopia (blue-blind)
#671C35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #62135a;
/* rgb */ color: rgb(98, 19, 90);
/* oklch */ color: oklch(35.5% 0.138 332.7);
Tailwind
colors: {
  custom: {
    50: '#925b89',
    500: '#62135a',
    950: '#000000',
  },
}
SCSS
$custom: #62135a;
$custom-light: #925b89;
$custom-dark: #000000;
JSON
{
  "hex": "#62135a",
  "rgb": {
    "r": 98,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 306.076,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35455,
    "c": 0.13818,
    "h": 332.7
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#62135A
secondary
#379A41
accent
#EA4F3D
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #62135A

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

Preview Lab → · Contrast checker → · Palette generator →

#62135A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva