#62328F#62328F

#62328F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.149 H 304.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#62328F
RGBrgb(98, 50, 143)
HSLhsl(271, 48%, 38%)
HSVhsv(271, 65%, 56%)
CMYKcmyk(31.5%, 65%, 0%, 43.9%)
CIE-LABlab(31.49, 39.96, -43.34)
CIE-LCHlch(31.49, 58.95, 312.68°)
OKLaboklab(42.67% 0.0846 -0.1228)
OKLCHoklch(42.67% 0.149 304.6)
XYZxyz(11.1344, 6.8611, 26.7190)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62328F #5F8F32
analogous
#33328F #62328F #8F328D
triadic
#62328F #8F6232 #328F62
tetradic
#62328F #8F3332 #5F8F32 #328D8F
square
#62328F #8F3332 #5F8F32 #328D8F
split-complementary
#62328F #8D8F32 #328F33
monochromatic
#241234 #432262 #62328F #8142BC #9F6FCD

Accessibility & contrast

On white

8.85
#62328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#62328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62328F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62328F#FFFFFF#000000##FFFFFF
##62328F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#5A465C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62328f;
/* rgb */ color: rgb(98, 50, 143);
/* oklch */ color: oklch(42.7% 0.149 304.6);
Tailwind
colors: {
  custom: {
    50: '#926db0',
    500: '#62328f',
    950: '#000000',
  },
}
SCSS
$custom: #62328f;
$custom-light: #926db0;
$custom-dark: #000000;
JSON
{
  "hex": "#62328f",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 270.968,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.14912,
    "h": 304.6
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#62328F
secondary
#8DB468
accent
#D85092
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #62328F

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

Preview Lab → · Contrast checker → · Palette generator →

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