#62387E#62387E

#62387E is a dark, moderate violet. Relative luminance 0.069; OKLCH L 42.4% C 0.119 H 310.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#62387E
RGBrgb(98, 56, 126)
HSLhsl(276, 38%, 36%)
HSVhsv(276, 56%, 49%)
CMYKcmyk(22.2%, 55.6%, 0%, 50.6%)
CIE-LABlab(31.65, 32.34, -32.54)
CIE-LCHlch(31.65, 45.88, 314.83°)
OKLaboklab(42.44% 0.0764 -0.0912)
OKLCHoklch(42.44% 0.119 310)
XYZxyz(10.2164, 6.9316, 20.5343)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62387E #547E38
analogous
#3F387E #62387E #7E3877
triadic
#62387E #7E6238 #387E62
tetradic
#62387E #7E3F38 #547E38 #38777E
square
#62387E #7E3F38 #547E38 #38777E
split-complementary
#62387E #777E38 #387E3F
monochromatic
#201229 #412554 #62387E #834BA8 #A071C0

Accessibility & contrast

On white

8.80
#62387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62387E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62387E#FFFFFF#000000##FFFFFF
##62387E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244980
Deuteranopia (green-blind)
#324B7C
Tritanopia (blue-blind)
#5E4455
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62387e;
/* rgb */ color: rgb(98, 56, 126);
/* oklch */ color: oklch(42.4% 0.119 310.0);
Tailwind
colors: {
  custom: {
    50: '#9170a4',
    500: '#62387e',
    950: '#000000',
  },
}
SCSS
$custom: #62387e;
$custom-light: #9170a4;
$custom-dark: #000000;
JSON
{
  "hex": "#62387e",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 276,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.11897,
    "h": 310
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#62387E
secondary
#83A969
accent
#CE5988
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62387E

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

Preview Lab → · Contrast checker → · Palette generator →

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