#62397F#62397F

#62397F is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.7% C 0.118 H 309.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#62397F
RGBrgb(98, 57, 127)
HSLhsl(275, 38%, 36%)
HSVhsv(275, 55%, 50%)
CMYKcmyk(22.8%, 55.1%, 0%, 50.2%)
CIE-LABlab(31.93, 32.01, -32.71)
CIE-LCHlch(31.93, 45.77, 314.37°)
OKLaboklab(42.66% 0.075 -0.0917)
OKLCHoklch(42.66% 0.118 309.3)
XYZxyz(10.3302, 7.0554, 20.8922)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62397F #567F39
analogous
#3F397F #62397F #7F3979
triadic
#62397F #7F6239 #397F62
tetradic
#62397F #7F3F39 #567F39 #39797F
square
#62397F #7F3F39 #567F39 #39797F
split-complementary
#62397F #797F39 #397F3F
monochromatic
#21132B #412655 #62397F #834CA9 #A072C0

Accessibility & contrast

On white

8.71
#62397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62397F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62397F#FFFFFF#000000##FFFFFF
##62397F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#5E4556
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #62397f;
/* rgb */ color: rgb(98, 57, 127);
/* oklch */ color: oklch(42.7% 0.118 309.3);
Tailwind
colors: {
  custom: {
    50: '#9171a4',
    500: '#62397f',
    950: '#000000',
  },
}
SCSS
$custom: #62397f;
$custom-light: #9171a4;
$custom-dark: #000000;
JSON
{
  "hex": "#62397f",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 275.143,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.11849,
    "h": 309.3
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#62397F
secondary
#85A96B
accent
#CE5A8A
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #62397F

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

Preview Lab → · Contrast checker → · Palette generator →

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