#62378A#62378A

#62378A is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.1% C 0.135 H 305.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#62378A
RGBrgb(98, 55, 138)
HSLhsl(271, 43%, 38%)
HSVhsv(271, 60%, 54%)
CMYKcmyk(29%, 60.1%, 0%, 45.9%)
CIE-LABlab(32.18, 35.92, -39.15)
CIE-LCHlch(32.18, 53.13, 312.54°)
OKLaboklab(43.06% 0.0783 -0.1105)
OKLCHoklch(43.06% 0.135 305.3)
XYZxyz(10.9896, 7.1641, 24.8437)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62378A #5F8A37
analogous
#38378A #62378A #8A3788
triadic
#62378A #8A6237 #378A62
tetradic
#62378A #8A3837 #5F8A37 #37888A
square
#62378A #8A3837 #5F8A37 #37888A
split-complementary
#62378A #888A37 #378A38
monochromatic
#241432 #43265E #62378A #8148B6 #9F74C8

Accessibility & contrast

On white

8.63
#62378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#62378A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62378A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62378A#FFFFFF#000000##FFFFFF
##62378A1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#264C88
Tritanopia (blue-blind)
#5B475B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62378a;
/* rgb */ color: rgb(98, 55, 138);
/* oklch */ color: oklch(43.1% 0.135 305.3);
Tailwind
colors: {
  custom: {
    50: '#9170ad',
    500: '#62378a',
    950: '#000000',
  },
}
SCSS
$custom: #62378a;
$custom-light: #9170ad;
$custom-dark: #000000;
JSON
{
  "hex": "#62378a",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 271.084,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.13544,
    "h": 305.3
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#62378A
secondary
#8DB06D
accent
#D35592
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62378A

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

Preview Lab → · Contrast checker → · Palette generator →

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