#6B2E8D#6B2E8D

#6B2E8D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.155 H 311.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6B2E8D
RGBrgb(107, 46, 141)
HSLhsl(279, 51%, 37%)
HSVhsv(279, 67%, 55%)
CMYKcmyk(24.1%, 67.4%, 0%, 44.7%)
CIE-LABlab(31.81, 43.67, -41.52)
CIE-LCHlch(31.81, 60.25, 316.45°)
OKLaboklab(43.12% 0.1021 -0.1171)
OKLCHoklch(43.12% 0.155 311.1)
XYZxyz(11.8472, 7.0032, 25.9218)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E8D #508D2E
analogous
#3C2E8D #6B2E8D #8D2E80
triadic
#6B2E8D #8D6B2E #2E8D6B
tetradic
#6B2E8D #8D3C2E #508D2E #2E808D
square
#6B2E8D #8D3C2E #508D2E #2E808D
split-complementary
#6B2E8D #808D2E #2E8D3C
monochromatic
#251031 #481F5F #6B2E8D #8E3DBB #A968CE

Accessibility & contrast

On white

8.75
#6B2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6B2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E8D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E8D#FFFFFF#000000##FFFFFF
##6B2E8D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#674159
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b2e8d;
/* rgb */ color: rgb(107, 46, 141);
/* oklch */ color: oklch(43.1% 0.155 311.1);
Tailwind
colors: {
  custom: {
    50: '#996baf',
    500: '#6b2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e8d;
$custom-light: #996baf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e8d",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 278.526,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43122,
    "c": 0.15539,
    "h": 311.1
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#6B2E8D
secondary
#80B562
accent
#DA4E80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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