#6B2B8D#6B2B8D

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

Color values

HEX#6B2B8D
RGBrgb(107, 43, 141)
HSLhsl(279, 53%, 36%)
HSVhsv(279, 70%, 55%)
CMYKcmyk(24.1%, 69.5%, 0%, 44.7%)
CIE-LABlab(31.29, 45.11, -42.35)
CIE-LCHlch(31.29, 61.88, 316.81°)
OKLaboklab(42.75% 0.1057 -0.1196)
OKLCHoklch(42.75% 0.16 311.5)
XYZxyz(11.7341, 6.7769, 25.8841)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2B8D #4D8D2B
analogous
#3A2B8D #6B2B8D #8D2B7E
triadic
#6B2B8D #8D6B2B #2B8D6B
tetradic
#6B2B8D #8D3A2B #4D8D2B #2B7E8D
square
#6B2B8D #8D3A2B #4D8D2B #2B7E8D
split-complementary
#6B2B8D #7E8D2B #2B8D3A
monochromatic
#240E2F #471D5E #6B2B8D #8F39BC #AA63CF

Accessibility & contrast

On white

8.92
#6B2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2B8D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2B8D#FFFFFF#000000##FFFFFF
##6B2B8D1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#673F58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2b8d;
/* rgb */ color: rgb(107, 43, 141);
/* oklch */ color: oklch(42.7% 0.160 311.5);
Tailwind
colors: {
  custom: {
    50: '#996aaf',
    500: '#6b2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #6b2b8d;
$custom-light: #996aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2b8d",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 279.184,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42748,
    "c": 0.15957,
    "h": 311.5
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#6B2B8D
secondary
#7DB65E
accent
#DD4B7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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