#62387C#62387C

#62387C is a dark, moderate violet. Relative luminance 0.069; OKLCH L 42.3% C 0.117 H 310.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#62387C
RGBrgb(98, 56, 124)
HSLhsl(277, 38%, 35%)
HSVhsv(277, 55%, 49%)
CMYKcmyk(21%, 54.8%, 0%, 51.4%)
CIE-LABlab(31.53, 31.85, -31.47)
CIE-LCHlch(31.53, 44.78, 315.34°)
OKLaboklab(42.31% 0.0763 -0.0881)
OKLCHoklch(42.31% 0.117 310.9)
XYZxyz(10.0886, 6.8805, 19.8615)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62387C #527C38
analogous
#40387C #62387C #7C3874
triadic
#62387C #7C6238 #387C62
tetradic
#62387C #7C4038 #527C38 #38747C
square
#62387C #7C4038 #527C38 #38747C
split-complementary
#62387C #747C38 #387C40
monochromatic
#1F1228 #412552 #62387C #834BA6 #A070BE

Accessibility & contrast

On white

8.84
#62387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#62387C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62387C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62387C#FFFFFF#000000##FFFFFF
##62387C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#5F4454
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62387c;
/* rgb */ color: rgb(98, 56, 124);
/* oklch */ color: oklch(42.3% 0.117 310.9);
Tailwind
colors: {
  custom: {
    50: '#9070a2',
    500: '#62387c',
    950: '#000000',
  },
}
SCSS
$custom: #62387c;
$custom-light: #9070a2;
$custom-dark: #000000;
JSON
{
  "hex": "#62387c",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 277.059,
    "s": 37.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.11651,
    "h": 310.9
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#62387C
secondary
#80A768
accent
#CE5A86
background
#F9F6FA
surface
#F1ECF3
border
#CBC7CD
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62387C

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

Preview Lab → · Contrast checker → · Palette generator →

#62387C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva