#62397E#62397E

#62397E is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.6% C 0.117 H 309.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#62397E
RGBrgb(98, 57, 126)
HSLhsl(276, 38%, 36%)
HSVhsv(276, 55%, 49%)
CMYKcmyk(22.2%, 54.8%, 0%, 50.6%)
CIE-LABlab(31.87, 31.76, -32.18)
CIE-LCHlch(31.87, 45.21, 314.62°)
OKLaboklab(42.6% 0.075 -0.0901)
OKLCHoklch(42.6% 0.117 309.7)
XYZxyz(10.2653, 7.0295, 20.5507)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62397E #557E39
analogous
#3F397E #62397E #7E3977
triadic
#62397E #7E6239 #397E62
tetradic
#62397E #7E3F39 #557E39 #39777E
square
#62397E #7E3F39 #557E39 #39777E
split-complementary
#62397E #777E39 #397E3F
monochromatic
#20132A #412654 #62397E #834CA8 #A072BF

Accessibility & contrast

On white

8.73
#62397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#62397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62397E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62397E#FFFFFF#000000##FFFFFF
##62397E1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#5E4556
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62397e;
/* rgb */ color: rgb(98, 57, 126);
/* oklch */ color: oklch(42.6% 0.117 309.7);
Tailwind
colors: {
  custom: {
    50: '#9171a4',
    500: '#62397e',
    950: '#000000',
  },
}
SCSS
$custom: #62397e;
$custom-light: #9171a4;
$custom-dark: #000000;
JSON
{
  "hex": "#62397e",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 275.652,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.426,
    "c": 0.11724,
    "h": 309.7
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#62397E
secondary
#84A86A
accent
#CE5A89
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #62397E

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

Preview Lab → · Contrast checker → · Palette generator →

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