#62367F#62367F

#62367F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.2% C 0.124 H 310.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#62367F
RGBrgb(98, 54, 127)
HSLhsl(276, 40%, 35%)
HSVhsv(276, 57%, 50%)
CMYKcmyk(22.8%, 57.5%, 0%, 50.2%)
CIE-LABlab(31.27, 33.74, -33.76)
CIE-LCHlch(31.27, 47.73, 314.98°)
OKLaboklab(42.18% 0.0794 -0.0948)
OKLCHoklch(42.18% 0.124 310)
XYZxyz(10.1862, 6.7675, 20.8442)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62367F #537F36
analogous
#3D367F #62367F #7F3677
triadic
#62367F #7F6236 #367F62
tetradic
#62367F #7F3D36 #537F36 #36777F
square
#62367F #7F3D36 #537F36 #36777F
split-complementary
#62367F #777F36 #367F3D
monochromatic
#201129 #412454 #62367F #8348AA #A06EC1

Accessibility & contrast

On white

8.92
#62367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#62367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62367F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62367F#FFFFFF#000000##FFFFFF
##62367F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4881
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#5E4355
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62367f;
/* rgb */ color: rgb(98, 54, 127);
/* oklch */ color: oklch(42.2% 0.124 310.0);
Tailwind
colors: {
  custom: {
    50: '#916fa4',
    500: '#62367f',
    950: '#000000',
  },
}
SCSS
$custom: #62367f;
$custom-light: #916fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#62367f",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 276.164,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42176,
    "c": 0.12361,
    "h": 310
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#62367F
secondary
#82AA67
accent
#D05888
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62367F

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

Preview Lab → · Contrast checker → · Palette generator →

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