#6A2C8B#6A2C8B

#6A2C8B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.156 H 311.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6A2C8B
RGBrgb(106, 44, 139)
HSLhsl(279, 52%, 36%)
HSVhsv(279, 68%, 55%)
CMYKcmyk(23.7%, 68.3%, 0%, 45.5%)
CIE-LABlab(31.18, 43.95, -41.30)
CIE-LCHlch(31.18, 60.31, 316.78°)
OKLaboklab(42.6% 0.1033 -0.1165)
OKLCHoklch(42.6% 0.156 311.6)
XYZxyz(11.5039, 6.7299, 25.1141)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2C8B #4D8B2C
analogous
#3A2C8B #6A2C8B #8B2C7C
triadic
#6A2C8B #8B6A2C #2C8B6A
tetradic
#6A2C8B #8B3A2C #4D8B2C #2C7C8B
square
#6A2C8B #8B3A2C #4D8B2C #2C7C8B
split-complementary
#6A2C8B #7C8B2C #2C8B3A
monochromatic
#230F2E #471D5D #6A2C8B #8D3BB9 #A964CE

Accessibility & contrast

On white

8.95
#6A2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6A2C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2C8B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2C8B#FFFFFF#000000##FFFFFF
##6A2C8B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#663F58
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a2c8b;
/* rgb */ color: rgb(106, 44, 139);
/* oklch */ color: oklch(42.6% 0.156 311.6);
Tailwind
colors: {
  custom: {
    50: '#986aad',
    500: '#6a2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #6a2c8b;
$custom-light: #986aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2c8b",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 279.158,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42595,
    "c": 0.15571,
    "h": 311.6
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#6A2C8B
secondary
#7CB45F
accent
#DB4C7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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