#6B2E8A#6B2E8A

#6B2E8A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.152 H 312.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6B2E8A
RGBrgb(107, 46, 138)
HSLhsl(280, 50%, 36%)
HSVhsv(280, 67%, 54%)
CMYKcmyk(22.5%, 66.7%, 0%, 45.9%)
CIE-LABlab(31.61, 42.98, -39.99)
CIE-LCHlch(31.61, 58.70, 317.06°)
OKLaboklab(42.91% 0.1023 -0.1126)
OKLCHoklch(42.91% 0.152 312.2)
XYZxyz(11.6270, 6.9151, 24.7621)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E8A #4D8A2E
analogous
#3D2E8A #6B2E8A #8A2E7B
triadic
#6B2E8A #8A6B2E #2E8A6B
tetradic
#6B2E8A #8A3D2E #4D8A2E #2E7B8A
square
#6B2E8A #8A3D2E #4D8A2E #2E7B8A
split-complementary
#6B2E8A #7B8A2E #2E8A3D
monochromatic
#240F2E #471F5C #6B2E8A #8F3DB8 #AA66CC

Accessibility & contrast

On white

8.81
#6B2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6B2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E8A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E8A#FFFFFF#000000##FFFFFF
##6B2E8A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#264C88
Tritanopia (blue-blind)
#684058
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2e8a;
/* rgb */ color: rgb(107, 46, 138);
/* oklch */ color: oklch(42.9% 0.152 312.2);
Tailwind
colors: {
  custom: {
    50: '#986bad',
    500: '#6b2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e8a;
$custom-light: #986bad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e8a",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 279.783,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.15215,
    "h": 312.2
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#6B2E8A
secondary
#7DB361
accent
#DA4E7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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