#6B2CB3#6B2CB3

#6B2CB3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.198 H 299.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6B2CB3
RGBrgb(107, 44, 179)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 75%, 70%)
CMYKcmyk(40.2%, 75.4%, 0%, 29.8%)
CIE-LABlab(34.36, 53.73, -60.39)
CIE-LCHlch(34.36, 80.83, 311.66°)
OKLaboklab(45.84% 0.098 -0.1726)
OKLCHoklch(45.84% 0.198 299.6)
XYZxyz(15.0987, 8.1817, 43.4228)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CB3 #74B32C
analogous
#2C30B3 #6B2CB3 #AE2CB3
triadic
#6B2CB3 #B36B2C #2CB36B
tetradic
#6B2CB3 #B32C30 #74B32C #2CB3AE
square
#6B2CB3 #B32C30 #74B32C #2CB3AE
split-complementary
#6B2CB3 #B3AE2C #30B32C
monochromatic
#301451 #4E2082 #6B2CB3 #8A4AD2 #A97BDF

Accessibility & contrast

On white

7.97
#6B2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6B2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CB3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CB3#FFFFFF#000000##FFFFFF
##6B2CB31.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#5A4F6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b2cb3;
/* rgb */ color: rgb(107, 44, 179);
/* oklch */ color: oklch(45.8% 0.198 299.6);
Tailwind
colors: {
  custom: {
    50: '#9c6ccb',
    500: '#6b2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cb3;
$custom-light: #9c6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cb3",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 268,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.19846,
    "h": 299.6
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#6B2CB3
secondary
#A0C774
accent
#E44499
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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