#6A2E8A#6A2E8A

#6A2E8A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.152 H 311.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6A2E8A
RGBrgb(106, 46, 138)
HSLhsl(279, 50%, 36%)
HSVhsv(279, 67%, 54%)
CMYKcmyk(23.2%, 66.7%, 0%, 45.9%)
CIE-LABlab(31.47, 42.74, -40.22)
CIE-LCHlch(31.47, 58.69, 316.74°)
OKLaboklab(42.78% 0.1009 -0.1134)
OKLCHoklch(42.78% 0.152 311.7)
XYZxyz(11.5075, 6.8534, 24.7565)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2E8A #4E8A2E
analogous
#3C2E8A #6A2E8A #8A2E7C
triadic
#6A2E8A #8A6A2E #2E8A6A
tetradic
#6A2E8A #8A3C2E #4E8A2E #2E7C8A
square
#6A2E8A #8A3C2E #4E8A2E #2E7C8A
split-complementary
#6A2E8A #7C8A2E #2E8A3C
monochromatic
#230F2E #471F5C #6A2E8A #8D3DB8 #A966CC

Accessibility & contrast

On white

8.86
#6A2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6A2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2E8A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2E8A#FFFFFF#000000##FFFFFF
##6A2E8A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#664058
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a2e8a;
/* rgb */ color: rgb(106, 46, 138);
/* oklch */ color: oklch(42.8% 0.152 311.7);
Tailwind
colors: {
  custom: {
    50: '#986bad',
    500: '#6a2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #6a2e8a;
$custom-light: #986bad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2e8a",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 279.13,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.15179,
    "h": 311.7
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#6A2E8A
secondary
#7DB361
accent
#DA4E7F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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