#6C32BB#6C32BB

#6C32BB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.201 H 297.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6C32BB
RGBrgb(108, 50, 187)
HSLhsl(265, 58%, 46%)
HSVhsv(265, 73%, 73%)
CMYKcmyk(42.2%, 73.3%, 0%, 26.7%)
CIE-LABlab(36.09, 53.21, -62.29)
CIE-LCHlch(36.09, 81.92, 310.50°)
OKLaboklab(47.29% 0.0922 -0.1781)
OKLCHoklch(47.29% 0.201 297.4)
XYZxyz(16.2922, 9.0569, 47.8939)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C32BB #81BB32
analogous
#323DBB #6C32BB #B132BB
triadic
#6C32BB #BB6C32 #32BB6C
tetradic
#6C32BB #BB323D #81BB32 #32BBB1
square
#6C32BB #BB323D #81BB32 #32BBB1
split-complementary
#6C32BB #BBB132 #3DBB32
monochromatic
#34185A #50258B #6C32BB #8C58D2 #AD88DF

Accessibility & contrast

On white

7.47
#6C32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6C32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C32BB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C32BB#FFFFFF#000000##FFFFFF
##6C32BB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#585574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c32bb;
/* rgb */ color: rgb(108, 50, 187);
/* oklch */ color: oklch(47.3% 0.201 297.4);
Tailwind
colors: {
  custom: {
    50: '#9d6fd0',
    500: '#6c32bb',
    950: '#000000',
  },
}
SCSS
$custom: #6c32bb;
$custom-light: #9d6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c32bb",
  "rgb": {
    "r": 108,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 265.401,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.2006,
    "h": 297.4
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#6C32BB
secondary
#AAC980
accent
#E147A0
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C32BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6C32BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva