#6B2C8B#6B2C8B

#6B2C8B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.156 H 312.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6B2C8B
RGBrgb(107, 44, 139)
HSLhsl(280, 52%, 36%)
HSVhsv(280, 68%, 55%)
CMYKcmyk(23%, 68.3%, 0%, 45.5%)
CIE-LABlab(31.33, 44.18, -41.06)
CIE-LCHlch(31.33, 60.32, 317.09°)
OKLaboklab(42.73% 0.1047 -0.1158)
OKLCHoklch(42.73% 0.156 312.1)
XYZxyz(11.6234, 6.7916, 25.1197)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2C8B #4C8B2C
analogous
#3B2C8B #6B2C8B #8B2C7B
triadic
#6B2C8B #8B6B2C #2C8B6B
tetradic
#6B2C8B #8B3B2C #4C8B2C #2C7B8B
square
#6B2C8B #8B3B2C #4C8B2C #2C7B8B
split-complementary
#6B2C8B #7B8B2C #2C8B3B
monochromatic
#230F2E #471D5D #6B2C8B #8F3BB9 #AA64CE

Accessibility & contrast

On white

8.91
#6B2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6B2C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2C8B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2C8B#FFFFFF#000000##FFFFFF
##6B2C8B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#234B89
Tritanopia (blue-blind)
#673F58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2c8b;
/* rgb */ color: rgb(107, 44, 139);
/* oklch */ color: oklch(42.7% 0.156 312.1);
Tailwind
colors: {
  custom: {
    50: '#996aad',
    500: '#6b2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #6b2c8b;
$custom-light: #996aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2c8b",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 279.789,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42729,
    "c": 0.15607,
    "h": 312.1
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#6B2C8B
secondary
#7BB45F
accent
#DB4C7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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