#6B2C8A#6B2C8A

#6B2C8A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.155 H 312.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6B2C8A
RGBrgb(107, 44, 138)
HSLhsl(280, 52%, 36%)
HSVhsv(280, 68%, 54%)
CMYKcmyk(22.5%, 68.1%, 0%, 45.9%)
CIE-LABlab(31.26, 43.96, -40.55)
CIE-LCHlch(31.26, 59.81, 317.31°)
OKLaboklab(42.66% 0.1047 -0.1143)
OKLCHoklch(42.66% 0.155 312.5)
XYZxyz(11.5507, 6.7625, 24.7366)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2C8A #4B8A2C
analogous
#3C2C8A #6B2C8A #8A2C7A
triadic
#6B2C8A #8A6B2C #2C8A6B
tetradic
#6B2C8A #8A3C2C #4B8A2C #2C7A8A
square
#6B2C8A #8A3C2C #4B8A2C #2C7A8A
split-complementary
#6B2C8A #7A8A2C #2C8A3C
monochromatic
#230E2D #471D5C #6B2C8A #8F3BB8 #AA63CD

Accessibility & contrast

On white

8.93
#6B2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6B2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2C8A
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2C8A#FFFFFF#000000##FFFFFF
##6B2C8A1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#244B88
Tritanopia (blue-blind)
#683F57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2c8a;
/* rgb */ color: rgb(107, 44, 138);
/* oklch */ color: oklch(42.7% 0.155 312.5);
Tailwind
colors: {
  custom: {
    50: '#996aad',
    500: '#6b2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b2c8a;
$custom-light: #996aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2c8a",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 280.213,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.15502,
    "h": 312.5
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#6B2C8A
secondary
#7AB45E
accent
#DB4D7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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