#6B2D8D#6B2D8D

#6B2D8D is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.157 H 311.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6B2D8D
RGBrgb(107, 45, 141)
HSLhsl(279, 52%, 36%)
HSVhsv(279, 68%, 55%)
CMYKcmyk(24.1%, 68.1%, 0%, 44.7%)
CIE-LABlab(31.64, 44.16, -41.80)
CIE-LCHlch(31.64, 60.80, 316.57°)
OKLaboklab(43% 0.1033 -0.1179)
OKLCHoklch(43% 0.157 311.2)
XYZxyz(11.8086, 6.9259, 25.9089)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2D8D #4F8D2D
analogous
#3B2D8D #6B2D8D #8D2D7F
triadic
#6B2D8D #8D6B2D #2D8D6B
tetradic
#6B2D8D #8D3B2D #4F8D2D #2D7F8D
square
#6B2D8D #8D3B2D #4F8D2D #2D7F8D
split-complementary
#6B2D8D #7F8D2D #2D8D3B
monochromatic
#250F30 #481E5F #6B2D8D #8E3CBB #A966CE

Accessibility & contrast

On white

8.80
#6B2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6B2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2D8D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2D8D#FFFFFF#000000##FFFFFF
##6B2D8D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#674159
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2d8d;
/* rgb */ color: rgb(107, 45, 141);
/* oklch */ color: oklch(43.0% 0.157 311.2);
Tailwind
colors: {
  custom: {
    50: '#996baf',
    500: '#6b2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #6b2d8d;
$custom-light: #996baf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2d8d",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 278.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.1568,
    "h": 311.2
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#6B2D8D
secondary
#7FB561
accent
#DB4D7F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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