#6A2C8D#6A2C8D

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

Color values

HEX#6A2C8D
RGBrgb(106, 44, 141)
HSLhsl(278, 52%, 36%)
HSVhsv(278, 69%, 55%)
CMYKcmyk(24.8%, 68.8%, 0%, 44.7%)
CIE-LABlab(31.32, 44.41, -42.32)
CIE-LCHlch(31.32, 61.34, 316.38°)
OKLaboklab(42.74% 0.1031 -0.1195)
OKLCHoklch(42.74% 0.158 310.8)
XYZxyz(11.6513, 6.7889, 25.8907)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2C8D #4F8D2C
analogous
#3A2C8D #6A2C8D #8D2C80
triadic
#6A2C8D #8D6A2C #2C8D6A
tetradic
#6A2C8D #8D3A2C #4F8D2C #2C808D
square
#6A2C8D #8D3A2C #4F8D2C #2C808D
split-complementary
#6A2C8D #808D2C #2C8D3A
monochromatic
#240F30 #471D5E #6A2C8D #8D3BBC #A865CF

Accessibility & contrast

On white

8.91
#6A2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2C8D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2C8D#FFFFFF#000000##FFFFFF
##6A2C8D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#1F4B8B
Tritanopia (blue-blind)
#654059
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a2c8d;
/* rgb */ color: rgb(106, 44, 141);
/* oklch */ color: oklch(42.7% 0.158 310.8);
Tailwind
colors: {
  custom: {
    50: '#986aaf',
    500: '#6a2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6a2c8d;
$custom-light: #986aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2c8d",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 278.351,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42738,
    "c": 0.15785,
    "h": 310.8
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#6A2C8D
secondary
#7EB560
accent
#DC4C80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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