#62378D#62378D

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

Color values

HEX#62378D
RGBrgb(98, 55, 141)
HSLhsl(270, 44%, 38%)
HSVhsv(270, 61%, 55%)
CMYKcmyk(30.5%, 61%, 0%, 44.7%)
CIE-LABlab(32.37, 36.69, -40.68)
CIE-LCHlch(32.37, 54.78, 312.05°)
OKLaboklab(43.27% 0.0783 -0.115)
OKLCHoklch(43.27% 0.139 304.2)
XYZxyz(11.2098, 7.2522, 26.0034)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62378D #628D37
analogous
#37378D #62378D #8D378D
triadic
#62378D #8D6237 #378D62
tetradic
#62378D #8D3737 #628D37 #378D8D
square
#62378D #8D3737 #628D37 #378D8D
split-complementary
#62378D #8D8D37 #378D37
monochromatic
#251535 #432661 #62378D #8149B8 #9F75C9

Accessibility & contrast

On white

8.57
#62378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#62378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62378D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62378D#FFFFFF#000000##FFFFFF
##62378D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B90
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#5A485C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62378d;
/* rgb */ color: rgb(98, 55, 141);
/* oklch */ color: oklch(43.3% 0.139 304.2);
Tailwind
colors: {
  custom: {
    50: '#9270af',
    500: '#62378d',
    950: '#000000',
  },
}
SCSS
$custom: #62378d;
$custom-light: #9270af;
$custom-dark: #000000;
JSON
{
  "hex": "#62378d",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 270,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43269,
    "c": 0.13913,
    "h": 304.2
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#62378D
secondary
#90B26E
accent
#D45494
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62378D

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

Preview Lab → · Contrast checker → · Palette generator →

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