#6232AC#6232AC

#6232AC is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.183 H 296.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#6232AC
RGBrgb(98, 50, 172)
HSLhsl(264, 55%, 44%)
HSVhsv(264, 71%, 67%)
CMYKcmyk(43%, 70.9%, 0%, 32.5%)
CIE-LABlab(33.68, 47.52, -57.37)
CIE-LCHlch(33.68, 74.49, 309.63°)
OKLaboklab(44.93% 0.0808 -0.164)
OKLCHoklch(44.93% 0.183 296.2)
XYZxyz(13.6220, 7.8561, 39.8204)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232AC #7CAC32
analogous
#323FAC #6232AC #9F32AC
triadic
#6232AC #AC6232 #32AC62
tetradic
#6232AC #AC323F #7CAC32 #32AC9F
square
#6232AC #AC323F #7CAC32 #32AC9F
split-complementary
#6232AC #AC9F32 #3FAC32
monochromatic
#2C164D #47247D #6232AC #804FCC #A37FDA

Accessibility & contrast

On white

8.17
#6232AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6232AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6232AC#FFFFFF#000000##FFFFFF
##6232AC1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#4E506B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6232ac;
/* rgb */ color: rgb(98, 50, 172);
/* oklch */ color: oklch(44.9% 0.183 296.2);
Tailwind
colors: {
  custom: {
    50: '#956ec6',
    500: '#6232ac',
    950: '#000000',
  },
}
SCSS
$custom: #6232ac;
$custom-light: #956ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6232ac",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 263.607,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44932,
    "c": 0.18285,
    "h": 296.2
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#6232AC
secondary
#A5C377
accent
#DE4AA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6232AC

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

Preview Lab → · Contrast checker → · Palette generator →

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