#62397D#62397D

#62397D is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.5% C 0.116 H 310.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#62397D
RGBrgb(98, 57, 125)
HSLhsl(276, 37%, 36%)
HSVhsv(276, 54%, 49%)
CMYKcmyk(21.6%, 54.4%, 0%, 51%)
CIE-LABlab(31.82, 31.51, -31.65)
CIE-LCHlch(31.82, 44.66, 314.88°)
OKLaboklab(42.54% 0.0749 -0.0886)
OKLCHoklch(42.54% 0.116 310.2)
XYZxyz(10.2011, 7.0038, 20.2125)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62397D #547D39
analogous
#40397D #62397D #7D3976
triadic
#62397D #7D6239 #397D62
tetradic
#62397D #7D4039 #547D39 #39767D
square
#62397D #7D4039 #547D39 #39767D
split-complementary
#62397D #767D39 #397D40
monochromatic
#201329 #412653 #62397D #834CA7 #A072BF

Accessibility & contrast

On white

8.75
#62397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#62397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62397D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62397D#FFFFFF#000000##FFFFFF
##62397D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#334C7B
Tritanopia (blue-blind)
#5F4555
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62397d;
/* rgb */ color: rgb(98, 57, 125);
/* oklch */ color: oklch(42.5% 0.116 310.2);
Tailwind
colors: {
  custom: {
    50: '#9071a3',
    500: '#62397d',
    950: '#000000',
  },
}
SCSS
$custom: #62397d;
$custom-light: #9071a3;
$custom-dark: #000000;
JSON
{
  "hex": "#62397d",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 276.176,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42538,
    "c": 0.116,
    "h": 310.2
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#62397D
secondary
#83A86A
accent
#CD5A88
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #62397D

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

Preview Lab → · Contrast checker → · Palette generator →

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