#62378E#62378E

#62378E is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.3% C 0.140 H 303.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#62378E
RGBrgb(98, 55, 142)
HSLhsl(270, 44%, 39%)
HSVhsv(270, 61%, 56%)
CMYKcmyk(31%, 61.3%, 0%, 44.3%)
CIE-LABlab(32.44, 36.95, -41.19)
CIE-LCHlch(32.44, 55.33, 311.89°)
OKLaboklab(43.34% 0.0783 -0.1165)
OKLCHoklch(43.34% 0.14 303.9)
XYZxyz(11.2846, 7.2821, 26.3970)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62378E #638E37
analogous
#37388E #62378E #8D378E
triadic
#62378E #8E6237 #378E62
tetradic
#62378E #8E3738 #638E37 #378E8D
square
#62378E #8E3738 #638E37 #378E8D
split-complementary
#62378E #8E8D37 #388E37
monochromatic
#251536 #442662 #62378E #8049B9 #9F76CA

Accessibility & contrast

On white

8.55
#62378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#62378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62378E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62378E#FFFFFF#000000##FFFFFF
##62378E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#5A495D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62378e;
/* rgb */ color: rgb(98, 55, 142);
/* oklch */ color: oklch(43.3% 0.140 303.9);
Tailwind
colors: {
  custom: {
    50: '#9270b0',
    500: '#62378e',
    950: '#000000',
  },
}
SCSS
$custom: #62378e;
$custom-light: #9270b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62378e",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 269.655,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.14035,
    "h": 303.9
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#62378E
secondary
#91B36E
accent
#D45495
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62378E

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

Preview Lab → · Contrast checker → · Palette generator →

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