#62327E#62327E

#62327E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.129 H 311.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#62327E
RGBrgb(98, 50, 126)
HSLhsl(278, 43%, 35%)
HSVhsv(278, 60%, 49%)
CMYKcmyk(22.2%, 60.3%, 0%, 50.6%)
CIE-LABlab(30.36, 35.75, -34.59)
CIE-LCHlch(30.36, 49.75, 315.95°)
OKLaboklab(41.49% 0.085 -0.0971)
OKLCHoklch(41.49% 0.129 311.2)
XYZxyz(9.9428, 6.3844, 20.4432)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62327E #4E7E32
analogous
#3C327E #62327E #7E3274
triadic
#62327E #7E6232 #327E62
tetradic
#62327E #7E3C32 #4E7E32 #32747E
square
#62327E #7E3C32 #4E7E32 #32747E
split-complementary
#62327E #747E32 #327E3C
monochromatic
#1E0F26 #402152 #62327E #8443AA #A168C3

Accessibility & contrast

On white

9.22
#62327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#62327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62327E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62327E#FFFFFF#000000##FFFFFF
##62327E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#2C487C
Tritanopia (blue-blind)
#5F4053
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62327e;
/* rgb */ color: rgb(98, 50, 126);
/* oklch */ color: oklch(41.5% 0.129 311.2);
Tailwind
colors: {
  custom: {
    50: '#916ca4',
    500: '#62327e',
    950: '#000000',
  },
}
SCSS
$custom: #62327e;
$custom-light: #916ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#62327e",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 277.895,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4149,
    "c": 0.12906,
    "h": 311.2
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#62327E
secondary
#7CAB61
accent
#D35583
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62327E

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

Preview Lab → · Contrast checker → · Palette generator →

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