#6A2C8A#6A2C8A

#6A2C8A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.155 H 311.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6A2C8A
RGBrgb(106, 44, 138)
HSLhsl(280, 52%, 36%)
HSVhsv(280, 68%, 54%)
CMYKcmyk(23.2%, 68.1%, 0%, 45.9%)
CIE-LABlab(31.12, 43.72, -40.79)
CIE-LCHlch(31.12, 59.80, 316.98°)
OKLaboklab(42.53% 0.1034 -0.115)
OKLCHoklch(42.53% 0.155 311.9)
XYZxyz(11.4311, 6.7008, 24.7310)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2C8A #4C8A2C
analogous
#3B2C8A #6A2C8A #8A2C7B
triadic
#6A2C8A #8A6A2C #2C8A6A
tetradic
#6A2C8A #8A3B2C #4C8A2C #2C7B8A
square
#6A2C8A #8A3B2C #4C8A2C #2C7B8A
split-complementary
#6A2C8A #7B8A2C #2C8A3B
monochromatic
#230E2D #461D5C #6A2C8A #8E3BB8 #A963CD

Accessibility & contrast

On white

8.97
#6A2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6A2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2C8A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2C8A#FFFFFF#000000##FFFFFF
##6A2C8A1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#234A88
Tritanopia (blue-blind)
#663F57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a2c8a;
/* rgb */ color: rgb(106, 44, 138);
/* oklch */ color: oklch(42.5% 0.155 311.9);
Tailwind
colors: {
  custom: {
    50: '#986aad',
    500: '#6a2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #6a2c8a;
$custom-light: #986aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2c8a",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 279.574,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.15465,
    "h": 311.9
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#6A2C8A
secondary
#7BB45E
accent
#DB4D7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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