#6B2CB1#6B2CB1

#6B2CB1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.196 H 300.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6B2CB1
RGBrgb(107, 44, 177)
HSLhsl(268, 60%, 43%)
HSVhsv(268, 75%, 69%)
CMYKcmyk(39.5%, 75.1%, 0%, 30.6%)
CIE-LABlab(34.19, 53.24, -59.47)
CIE-LCHlch(34.19, 79.82, 311.84°)
OKLaboklab(45.67% 0.0985 -0.1699)
OKLCHoklch(45.67% 0.196 300.1)
XYZxyz(14.8979, 8.1013, 42.3653)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CB1 #72B12C
analogous
#2C2FB1 #6B2CB1 #AD2CB1
triadic
#6B2CB1 #B16B2C #2CB16B
tetradic
#6B2CB1 #B12C2F #72B12C #2CB1AD
square
#6B2CB1 #B12C2F #72B12C #2CB1AD
split-complementary
#6B2CB1 #B1AD2C #2FB12C
monochromatic
#30144F #4D2080 #6B2CB1 #8949D2 #A97ADE

Accessibility & contrast

On white

8.01
#6B2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6B2CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CB1
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CB1#FFFFFF#000000##FFFFFF
##6B2CB11.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#5B4E6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2cb1;
/* rgb */ color: rgb(107, 44, 177);
/* oklch */ color: oklch(45.7% 0.196 300.1);
Tailwind
colors: {
  custom: {
    50: '#9c6cc9',
    500: '#6b2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cb1;
$custom-light: #9c6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cb1",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 268.421,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45667,
    "c": 0.19636,
    "h": 300.1
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#6B2CB1
secondary
#9FC673
accent
#E34498
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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