#62388B#62388B

#62388B is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.3% C 0.135 H 304.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#62388B
RGBrgb(98, 56, 139)
HSLhsl(270, 43%, 38%)
HSVhsv(270, 60%, 55%)
CMYKcmyk(29.5%, 59.7%, 0%, 45.5%)
CIE-LABlab(32.46, 35.61, -39.32)
CIE-LCHlch(32.46, 53.05, 312.17°)
OKLaboklab(43.29% 0.077 -0.111)
OKLCHoklch(43.29% 0.135 304.7)
XYZxyz(11.1104, 7.2892, 25.2427)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62388B #618B38
analogous
#38388B #62388B #8B388A
triadic
#62388B #8B6238 #388B62
tetradic
#62388B #8B3838 #618B38 #388A8B
square
#62388B #8B3838 #618B38 #388A8B
split-complementary
#62388B #8A8B38 #388B38
monochromatic
#241534 #43265F #62388B #814AB6 #9F76C8

Accessibility & contrast

On white

8.54
#62388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#62388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62388B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62388B#FFFFFF#000000##FFFFFF
##62388B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#5B485C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62388b;
/* rgb */ color: rgb(98, 56, 139);
/* oklch */ color: oklch(43.3% 0.135 304.7);
Tailwind
colors: {
  custom: {
    50: '#9170ad',
    500: '#62388b',
    950: '#000000',
  },
}
SCSS
$custom: #62388b;
$custom-light: #9170ad;
$custom-dark: #000000;
JSON
{
  "hex": "#62388b",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 270.361,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43287,
    "c": 0.13508,
    "h": 304.7
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#62388B
secondary
#8FB16E
accent
#D25593
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #62388B

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

Preview Lab → · Contrast checker → · Palette generator →

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