#62327D#62327D

#62327D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.128 H 311.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#62327D
RGBrgb(98, 50, 125)
HSLhsl(278, 43%, 34%)
HSVhsv(278, 60%, 49%)
CMYKcmyk(21.6%, 60%, 0%, 51%)
CIE-LABlab(30.30, 35.51, -34.06)
CIE-LCHlch(30.30, 49.21, 316.20°)
OKLaboklab(41.42% 0.085 -0.0956)
OKLCHoklch(41.42% 0.128 311.6)
XYZxyz(9.8786, 6.3588, 20.1050)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62327D #4D7D32
analogous
#3D327D #62327D #7D3273
triadic
#62327D #7D6232 #327D62
tetradic
#62327D #7D3D32 #4D7D32 #32737D
square
#62327D #7D3D32 #4D7D32 #32737D
split-complementary
#62327D #737D32 #327D3D
monochromatic
#1D0F26 #402151 #62327D #8443A9 #A167C2

Accessibility & contrast

On white

9.24
#62327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#62327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62327D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62327D#FFFFFF#000000##FFFFFF
##62327D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#2C487B
Tritanopia (blue-blind)
#5F3F52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #62327d;
/* rgb */ color: rgb(98, 50, 125);
/* oklch */ color: oklch(41.4% 0.128 311.6);
Tailwind
colors: {
  custom: {
    50: '#916ca3',
    500: '#62327d',
    950: '#000000',
  },
}
SCSS
$custom: #62327d;
$custom-light: #916ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#62327d",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 278.4,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41424,
    "c": 0.12789,
    "h": 311.6
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#62327D
secondary
#7BAA61
accent
#D35582
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #62327D

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

Preview Lab → · Contrast checker → · Palette generator →

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