#62378C#62378C

#62378C is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.2% C 0.138 H 304.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#62378C
RGBrgb(98, 55, 140)
HSLhsl(270, 44%, 38%)
HSVhsv(270, 61%, 55%)
CMYKcmyk(30%, 60.7%, 0%, 45.1%)
CIE-LABlab(32.31, 36.44, -40.17)
CIE-LCHlch(32.31, 54.23, 312.21°)
OKLaboklab(43.2% 0.0783 -0.1135)
OKLCHoklch(43.2% 0.138 304.6)
XYZxyz(11.1358, 7.2225, 25.6133)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62378C #618C37
analogous
#37378C #62378C #8C378B
triadic
#62378C #8C6237 #378C62
tetradic
#62378C #8C3737 #618C37 #378B8C
square
#62378C #8C3737 #618C37 #378B8C
split-complementary
#62378C #8B8C37 #378C37
monochromatic
#241434 #432660 #62378C #8149B7 #9F75C9

Accessibility & contrast

On white

8.59
#62378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#62378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62378C
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62378C#FFFFFF#000000##FFFFFF
##62378C1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B8F
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#5B485C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62378c;
/* rgb */ color: rgb(98, 55, 140);
/* oklch */ color: oklch(43.2% 0.138 304.6);
Tailwind
colors: {
  custom: {
    50: '#9270ae',
    500: '#62378c',
    950: '#000000',
  },
}
SCSS
$custom: #62378c;
$custom-light: #9270ae;
$custom-dark: #000000;
JSON
{
  "hex": "#62378c",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 270.353,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.432,
    "c": 0.1379,
    "h": 304.6
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#62378C
secondary
#8FB16D
accent
#D35493
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62378C

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

Preview Lab → · Contrast checker → · Palette generator →

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