#62387F#62387F

#62387F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.5% C 0.120 H 309.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#62387F
RGBrgb(98, 56, 127)
HSLhsl(275, 39%, 36%)
HSVhsv(275, 56%, 50%)
CMYKcmyk(22.8%, 55.9%, 0%, 50.2%)
CIE-LABlab(31.71, 32.59, -33.07)
CIE-LCHlch(31.71, 46.43, 314.58°)
OKLaboklab(42.5% 0.0765 -0.0927)
OKLCHoklch(42.5% 0.12 309.5)
XYZxyz(10.2812, 6.9575, 20.8759)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62387F #557F38
analogous
#3E387F #62387F #7F3878
triadic
#62387F #7F6238 #387F62
tetradic
#62387F #7F3E38 #557F38 #38787F
square
#62387F #7F3E38 #557F38 #38787F
split-complementary
#62387F #787F38 #387F3E
monochromatic
#20132A #412555 #62387F #834BA9 #A071C0

Accessibility & contrast

On white

8.78
#62387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#62387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62387F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62387F#FFFFFF#000000##FFFFFF
##62387F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234981
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#5E4456
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62387f;
/* rgb */ color: rgb(98, 56, 127);
/* oklch */ color: oklch(42.5% 0.120 309.5);
Tailwind
colors: {
  custom: {
    50: '#9170a4',
    500: '#62387f',
    950: '#000000',
  },
}
SCSS
$custom: #62387f;
$custom-light: #9170a4;
$custom-dark: #000000;
JSON
{
  "hex": "#62387f",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 275.493,
    "s": 38.798,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.12021,
    "h": 309.5
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#62387F
secondary
#84A969
accent
#CF5989
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62387F

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

Preview Lab → · Contrast checker → · Palette generator →

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