#6A2C8E#6A2C8E

#6A2C8E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.159 H 310.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6A2C8E
RGBrgb(106, 44, 142)
HSLhsl(278, 53%, 36%)
HSVhsv(278, 69%, 56%)
CMYKcmyk(25.4%, 69%, 0%, 44.3%)
CIE-LABlab(31.39, 44.64, -42.82)
CIE-LCHlch(31.39, 61.86, 316.19°)
OKLaboklab(42.81% 0.103 -0.121)
OKLCHoklch(42.81% 0.159 310.4)
XYZxyz(11.7261, 6.8188, 26.2844)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2C8E #508E2C
analogous
#392C8E #6A2C8E #8E2C81
triadic
#6A2C8E #8E6A2C #2C8E6A
tetradic
#6A2C8E #8E392C #508E2C #2C818E
square
#6A2C8E #8E392C #508E2C #2C818E
split-complementary
#6A2C8E #818E2C #2C8E39
monochromatic
#240F31 #471E5F #6A2C8E #8D3ABD #A865CF

Accessibility & contrast

On white

8.88
#6A2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2C8E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2C8E#FFFFFF#000000##FFFFFF
##6A2C8E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#654159
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a2c8e;
/* rgb */ color: rgb(106, 44, 142);
/* oklch */ color: oklch(42.8% 0.159 310.4);
Tailwind
colors: {
  custom: {
    50: '#986ab0',
    500: '#6a2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #6a2c8e;
$custom-light: #986ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2c8e",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 277.959,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.15891,
    "h": 310.4
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#6A2C8E
secondary
#80B660
accent
#DC4C81
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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