#62387A#62387A

#62387A is a dark, moderate violet. Relative luminance 0.068; OKLCH L 42.2% C 0.114 H 311.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#62387A
RGBrgb(98, 56, 122)
HSLhsl(278, 37%, 35%)
HSVhsv(278, 54%, 48%)
CMYKcmyk(19.7%, 54.1%, 0%, 52.2%)
CIE-LABlab(31.42, 31.37, -30.40)
CIE-LCHlch(31.42, 43.68, 315.90°)
OKLaboklab(42.19% 0.0761 -0.085)
OKLCHoklch(42.19% 0.114 311.8)
XYZxyz(9.9634, 6.8304, 19.2021)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62387A #507A38
analogous
#41387A #62387A #7A3871
triadic
#62387A #7A6238 #387A62
tetradic
#62387A #7A4138 #507A38 #38717A
square
#62387A #7A4138 #507A38 #38717A
split-complementary
#62387A #717A38 #387A41
monochromatic
#1F1126 #402550 #62387A #844BA4 #A16FBD

Accessibility & contrast

On white

8.88
#62387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#62387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62387A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62387A#FFFFFF#000000##FFFFFF
##62387A1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#5F4353
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62387a;
/* rgb */ color: rgb(98, 56, 122);
/* oklch */ color: oklch(42.2% 0.114 311.8);
Tailwind
colors: {
  custom: {
    50: '#9070a1',
    500: '#62387a',
    950: '#000000',
  },
}
SCSS
$custom: #62387a;
$custom-light: #9070a1;
$custom-dark: #000000;
JSON
{
  "hex": "#62387a",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 278.182,
    "s": 37.079,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42187,
    "c": 0.11404,
    "h": 311.8
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#62387A
secondary
#7EA668
accent
#CD5B84
background
#F9F6F9
surface
#F1ECF2
border
#CBC7CC
text
#0D070F
muted
#7E7A7E

Preview Lab

Preview with #62387A

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

Preview Lab → · Contrast checker → · Palette generator →

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