#62328B#62328B

#62328B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.144 H 306.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#62328B
RGBrgb(98, 50, 139)
HSLhsl(272, 47%, 37%)
HSVhsv(272, 64%, 55%)
CMYKcmyk(29.5%, 64%, 0%, 45.5%)
CIE-LABlab(31.21, 38.95, -41.31)
CIE-LCHlch(31.21, 56.78, 313.31°)
OKLaboklab(42.38% 0.0848 -0.1169)
OKLCHoklch(42.38% 0.144 306)
XYZxyz(10.8368, 6.7420, 25.1515)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62328B #5B8B32
analogous
#36328B #62328B #8B3288
triadic
#62328B #8B6232 #328B62
tetradic
#62328B #8B3632 #5B8B32 #32888B
square
#62328B #8B3632 #5B8B32 #32888B
split-complementary
#62328B #888B32 #328B36
monochromatic
#231231 #42225E #62328B #8242B8 #9F6DCA

Accessibility & contrast

On white

8.94
#62328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#62328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62328B
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62328B#FFFFFF#000000##FFFFFF
##62328B1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#5B445A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #62328b;
/* rgb */ color: rgb(98, 50, 139);
/* oklch */ color: oklch(42.4% 0.144 306.0);
Tailwind
colors: {
  custom: {
    50: '#926dad',
    500: '#62328b',
    950: '#000000',
  },
}
SCSS
$custom: #62328b;
$custom-light: #926dad;
$custom-dark: #000000;
JSON
{
  "hex": "#62328b",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 272.36,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42381,
    "c": 0.1444,
    "h": 306
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#62328B
secondary
#89B267
accent
#D7518F
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62328B

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

Preview Lab → · Contrast checker → · Palette generator →

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