#62388A#62388A

#62388A is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.2% C 0.134 H 305.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#62388A
RGBrgb(98, 56, 138)
HSLhsl(271, 42%, 38%)
HSVhsv(271, 59%, 54%)
CMYKcmyk(29%, 59.4%, 0%, 45.9%)
CIE-LABlab(32.39, 35.35, -38.80)
CIE-LCHlch(32.39, 52.49, 312.34°)
OKLaboklab(43.22% 0.0769 -0.1095)
OKLCHoklch(43.22% 0.134 305.1)
XYZxyz(11.0376, 7.2601, 24.8597)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62388A #608A38
analogous
#39388A #62388A #8A3889
triadic
#62388A #8A6238 #388A62
tetradic
#62388A #8A3938 #608A38 #38898A
square
#62388A #8A3938 #608A38 #38898A
split-complementary
#62388A #898A38 #388A39
monochromatic
#241533 #43265E #62388A #814AB5 #9F75C7

Accessibility & contrast

On white

8.56
#62388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#62388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62388A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62388A#FFFFFF#000000##FFFFFF
##62388A1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8D
Deuteranopia (green-blind)
#284C88
Tritanopia (blue-blind)
#5B485B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62388a;
/* rgb */ color: rgb(98, 56, 138);
/* oklch */ color: oklch(43.2% 0.134 305.1);
Tailwind
colors: {
  custom: {
    50: '#9170ad',
    500: '#62388a',
    950: '#000000',
  },
}
SCSS
$custom: #62388a;
$custom-light: #9170ad;
$custom-dark: #000000;
JSON
{
  "hex": "#62388a",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 270.732,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43219,
    "c": 0.13384,
    "h": 305.1
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#62388A
secondary
#8EB06E
accent
#D25692
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #62388A

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

Preview Lab → · Contrast checker → · Palette generator →

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