#62388E#62388E

#62388E is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.5% C 0.139 H 303.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#62388E
RGBrgb(98, 56, 142)
HSLhsl(269, 43%, 39%)
HSVhsv(269, 61%, 56%)
CMYKcmyk(31%, 60.6%, 0%, 44.3%)
CIE-LABlab(32.65, 36.38, -40.85)
CIE-LCHlch(32.65, 54.70, 311.69°)
OKLaboklab(43.49% 0.0769 -0.1155)
OKLCHoklch(43.49% 0.139 303.7)
XYZxyz(11.3326, 7.3780, 26.4130)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62388E #648E38
analogous
#38398E #62388E #8D388E
triadic
#62388E #8E6238 #388E62
tetradic
#62388E #8E3839 #648E38 #388E8D
square
#62388E #8E3839 #648E38 #388E8D
split-complementary
#62388E #8E8D38 #398E38
monochromatic
#251536 #442762 #62388E #804BB8 #9F77C9

Accessibility & contrast

On white

8.48
#62388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62388E
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62388E#FFFFFF#000000##FFFFFF
##62388E1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C91
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#5A495D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #62388e;
/* rgb */ color: rgb(98, 56, 142);
/* oklch */ color: oklch(43.5% 0.139 303.7);
Tailwind
colors: {
  custom: {
    50: '#9271b0',
    500: '#62388e',
    950: '#000000',
  },
}
SCSS
$custom: #62388e;
$custom-light: #9271b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62388e",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 269.302,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43493,
    "c": 0.1388,
    "h": 303.7
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#62388E
secondary
#92B26F
accent
#D35595
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #62388E

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

Preview Lab → · Contrast checker → · Palette generator →

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