#62388D#62388D

#62388D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.4% C 0.138 H 304.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#62388D
RGBrgb(98, 56, 141)
HSLhsl(270, 43%, 39%)
HSVhsv(270, 60%, 55%)
CMYKcmyk(30.5%, 60.3%, 0%, 44.7%)
CIE-LABlab(32.59, 36.13, -40.34)
CIE-LCHlch(32.59, 54.15, 311.85°)
OKLaboklab(43.42% 0.077 -0.114)
OKLCHoklch(43.42% 0.138 304)
XYZxyz(11.2578, 7.3481, 26.0194)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62388D #638D38
analogous
#38388D #62388D #8C388D
triadic
#62388D #8D6238 #388D62
tetradic
#62388D #8D3838 #638D38 #388D8C
square
#62388D #8D3838 #638D38 #388D8C
split-complementary
#62388D #8D8C38 #388D38
monochromatic
#251535 #442761 #62388D #804BB7 #9F77C9

Accessibility & contrast

On white

8.50
#62388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#62388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62388D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62388D#FFFFFF#000000##FFFFFF
##62388D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C90
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#5A495D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #62388d;
/* rgb */ color: rgb(98, 56, 141);
/* oklch */ color: oklch(43.4% 0.138 304.0);
Tailwind
colors: {
  custom: {
    50: '#9271af',
    500: '#62388d',
    950: '#000000',
  },
}
SCSS
$custom: #62388d;
$custom-light: #9271af;
$custom-dark: #000000;
JSON
{
  "hex": "#62388d",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 269.647,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43424,
    "c": 0.13756,
    "h": 304
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#62388D
secondary
#91B26F
accent
#D35595
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #62388D

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

Preview Lab → · Contrast checker → · Palette generator →

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