#62378B#62378B

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

Color values

HEX#62378B
RGBrgb(98, 55, 139)
HSLhsl(271, 43%, 38%)
HSVhsv(271, 60%, 55%)
CMYKcmyk(29.5%, 60.4%, 0%, 45.5%)
CIE-LABlab(32.24, 36.18, -39.66)
CIE-LCHlch(32.24, 53.68, 312.37°)
OKLaboklab(43.13% 0.0783 -0.112)
OKLCHoklch(43.13% 0.137 304.9)
XYZxyz(11.0624, 7.1932, 25.2267)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62378B #608B37
analogous
#38378B #62378B #8B378A
triadic
#62378B #8B6237 #378B62
tetradic
#62378B #8B3837 #608B37 #378A8B
square
#62378B #8B3837 #608B37 #378A8B
split-complementary
#62378B #8A8B37 #378B38
monochromatic
#241433 #43265F #62378B #8148B7 #9F74C8

Accessibility & contrast

On white

8.61
#62378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62378B
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62378B#FFFFFF#000000##FFFFFF
##62378B1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#5B485B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62378b;
/* rgb */ color: rgb(98, 55, 139);
/* oklch */ color: oklch(43.1% 0.137 304.9);
Tailwind
colors: {
  custom: {
    50: '#9270ad',
    500: '#62378b',
    950: '#000000',
  },
}
SCSS
$custom: #62378b;
$custom-light: #9270ad;
$custom-dark: #000000;
JSON
{
  "hex": "#62378b",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 270.714,
    "s": 43.299,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43131,
    "c": 0.13667,
    "h": 304.9
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #62378B

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

Preview Lab → · Contrast checker → · Palette generator →

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