#6232AA#6232AA

#6232AA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.181 H 296.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6232AA
RGBrgb(98, 50, 170)
HSLhsl(264, 55%, 43%)
HSVhsv(264, 71%, 67%)
CMYKcmyk(42.4%, 70.6%, 0%, 33.3%)
CIE-LABlab(33.52, 46.98, -56.43)
CIE-LCHlch(33.52, 73.43, 309.78°)
OKLaboklab(44.77% 0.0811 -0.1613)
OKLCHoklch(44.77% 0.181 296.7)
XYZxyz(13.4314, 7.7799, 38.8164)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232AA #7AAA32
analogous
#323EAA #6232AA #9E32AA
triadic
#6232AA #AA6232 #32AA62
tetradic
#6232AA #AA323E #7AAA32 #32AA9E
square
#6232AA #AA323E #7AAA32 #32AA9E
split-complementary
#6232AA #AA9E32 #3EAA32
monochromatic
#2B164B #47247B #6232AA #804ECB #A27DD9

Accessibility & contrast

On white

8.22
#6232AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6232AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232AA
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232AA#FFFFFF#000000##FFFFFF
##6232AA1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#4F506A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6232aa;
/* rgb */ color: rgb(98, 50, 170);
/* oklch */ color: oklch(44.8% 0.181 296.7);
Tailwind
colors: {
  custom: {
    50: '#956ec4',
    500: '#6232aa',
    950: '#000000',
  },
}
SCSS
$custom: #6232aa;
$custom-light: #956ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6232aa",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 264,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.18056,
    "h": 296.7
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#6232AA
secondary
#A3C276
accent
#DE4AA3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6232AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6232AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva