#62328C#62328C

#62328C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.146 H 305.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#62328C
RGBrgb(98, 50, 140)
HSLhsl(272, 47%, 37%)
HSVhsv(272, 64%, 55%)
CMYKcmyk(30%, 64.3%, 0%, 45.1%)
CIE-LABlab(31.28, 39.20, -41.82)
CIE-LCHlch(31.28, 57.32, 313.15°)
OKLaboklab(42.45% 0.0848 -0.1183)
OKLCHoklch(42.45% 0.146 305.6)
XYZxyz(10.9102, 6.7714, 25.5381)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62328C #5C8C32
analogous
#35328C #62328C #8C3289
triadic
#62328C #8C6232 #328C62
tetradic
#62328C #8C3532 #5C8C32 #32898C
square
#62328C #8C3532 #5C8C32 #32898C
split-complementary
#62328C #898C32 #328C35
monochromatic
#231232 #42225F #62328C #8242B9 #9F6DCB

Accessibility & contrast

On white

8.92
#62328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #62328C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62328C#FFFFFF#000000##FFFFFF
##62328C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#1D4A8A
Tritanopia (blue-blind)
#5B455A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #62328c;
/* rgb */ color: rgb(98, 50, 140);
/* oklch */ color: oklch(42.5% 0.146 305.6);
Tailwind
colors: {
  custom: {
    50: '#926dae',
    500: '#62328c',
    950: '#000000',
  },
}
SCSS
$custom: #62328c;
$custom-light: #926dae;
$custom-dark: #000000;
JSON
{
  "hex": "#62328c",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 272,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42452,
    "c": 0.14558,
    "h": 305.6
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#62328C
secondary
#8AB367
accent
#D7518F
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #62328C

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

Preview Lab → · Contrast checker → · Palette generator →

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