#6A2D8A#6A2D8A

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

Color values

HEX#6A2D8A
RGBrgb(106, 45, 138)
HSLhsl(279, 51%, 36%)
HSVhsv(279, 67%, 54%)
CMYKcmyk(23.2%, 67.4%, 0%, 45.9%)
CIE-LABlab(31.29, 43.23, -40.51)
CIE-LCHlch(31.29, 59.25, 316.86°)
OKLaboklab(42.65% 0.1022 -0.1142)
OKLCHoklch(42.65% 0.153 311.8)
XYZxyz(11.4689, 6.7762, 24.7436)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2D8A #4D8A2D
analogous
#3B2D8A #6A2D8A #8A2D7B
triadic
#6A2D8A #8A6A2D #2D8A6A
tetradic
#6A2D8A #8A3B2D #4D8A2D #2D7B8A
square
#6A2D8A #8A3B2D #4D8A2D #2D7B8A
split-complementary
#6A2D8A #7B8A2D #2D8A3B
monochromatic
#230F2E #471E5C #6A2D8A #8D3CB8 #A965CD

Accessibility & contrast

On white

8.92
#6A2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2D8A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2D8A#FFFFFF#000000##FFFFFF
##6A2D8A1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2d8a;
/* rgb */ color: rgb(106, 45, 138);
/* oklch */ color: oklch(42.7% 0.153 311.8);
Tailwind
colors: {
  custom: {
    50: '#986aad',
    500: '#6a2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #6a2d8a;
$custom-light: #986aad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2d8a",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 279.355,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42651,
    "c": 0.15323,
    "h": 311.8
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#6A2D8A
secondary
#7CB360
accent
#DA4D7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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