#62328E#62328E

#62328E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.148 H 304.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#62328E
RGBrgb(98, 50, 142)
HSLhsl(271, 48%, 38%)
HSVhsv(271, 65%, 56%)
CMYKcmyk(31%, 64.8%, 0%, 44.3%)
CIE-LABlab(31.42, 39.71, -42.83)
CIE-LCHlch(31.42, 58.41, 312.83°)
OKLaboklab(42.6% 0.0847 -0.1213)
OKLCHoklch(42.6% 0.148 304.9)
XYZxyz(11.0590, 6.8309, 26.3218)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62328E #5E8E32
analogous
#34328E #62328E #8E328C
triadic
#62328E #8E6232 #328E62
tetradic
#62328E #8E3432 #5E8E32 #328C8E
square
#62328E #8E3432 #5E8E32 #328C8E
split-complementary
#62328E #8C8E32 #328E34
monochromatic
#241233 #432261 #62328E #8142BB #9F6ECC

Accessibility & contrast

On white

8.87
#62328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62328E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62328E#FFFFFF#000000##FFFFFF
##62328E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#5A455B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62328e;
/* rgb */ color: rgb(98, 50, 142);
/* oklch */ color: oklch(42.6% 0.148 304.9);
Tailwind
colors: {
  custom: {
    50: '#926db0',
    500: '#62328e',
    950: '#000000',
  },
}
SCSS
$custom: #62328e;
$custom-light: #926db0;
$custom-dark: #000000;
JSON
{
  "hex": "#62328e",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 271.304,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.14793,
    "h": 304.9
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#62328E
secondary
#8CB468
accent
#D85091
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62328E

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

Preview Lab → · Contrast checker → · Palette generator →

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