#62388F#62388F

#62388F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.140 H 303.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#62388F
RGBrgb(98, 56, 143)
HSLhsl(269, 44%, 39%)
HSVhsv(269, 61%, 56%)
CMYKcmyk(31.5%, 60.8%, 0%, 43.9%)
CIE-LABlab(32.72, 36.64, -41.36)
CIE-LCHlch(32.72, 55.26, 311.54°)
OKLaboklab(43.56% 0.0769 -0.117)
OKLCHoklch(43.56% 0.14 303.3)
XYZxyz(11.4080, 7.4082, 26.8102)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62388F #658F38
analogous
#38398F #62388F #8E388F
triadic
#62388F #8F6238 #388F62
tetradic
#62388F #8F3839 #658F38 #388F8E
square
#62388F #8F3839 #658F38 #388F8E
split-complementary
#62388F #8F8E38 #398F38
monochromatic
#261637 #442763 #62388F #804BB9 #9F77CA

Accessibility & contrast

On white

8.46
#62388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#62388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62388F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62388F#FFFFFF#000000##FFFFFF
##62388F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#224D8D
Tritanopia (blue-blind)
#5A4A5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #62388f;
/* rgb */ color: rgb(98, 56, 143);
/* oklch */ color: oklch(43.6% 0.140 303.3);
Tailwind
colors: {
  custom: {
    50: '#9271b0',
    500: '#62388f',
    950: '#000000',
  },
}
SCSS
$custom: #62388f;
$custom-light: #9271b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62388f",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 268.966,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43563,
    "c": 0.14003,
    "h": 303.3
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#62388F
secondary
#93B370
accent
#D35496
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #62388F

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

Preview Lab → · Contrast checker → · Palette generator →

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