#6A2995#6A2995

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

Color values

HEX#6A2995
RGBrgb(106, 41, 149)
HSLhsl(276, 57%, 37%)
HSVhsv(276, 72%, 58%)
CMYKcmyk(28.9%, 72.5%, 0%, 41.6%)
CIE-LABlab(31.39, 47.66, -47.12)
CIE-LCHlch(31.39, 67.02, 315.33°)
OKLaboklab(42.97% 0.1055 -0.1336)
OKLCHoklch(42.97% 0.17 308.3)
XYZxyz(12.1605, 6.8202, 29.1038)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2995 #549529
analogous
#342995 #6A2995 #95298A
triadic
#6A2995 #956A29 #29956A
tetradic
#6A2995 #953429 #549529 #298A95
square
#6A2995 #953429 #549529 #298A95
split-complementary
#6A2995 #8A9529 #299534
monochromatic
#260F35 #481C65 #6A2995 #8C36C5 #A864D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A2995#FFFFFF#000000##FFFFFF
##6A29951.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)
#004798
Deuteranopia (green-blind)
#0C4B93
Tritanopia (blue-blind)
#63425C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a2995;
/* rgb */ color: rgb(106, 41, 149);
/* oklch */ color: oklch(43.0% 0.170 308.3);
Tailwind
colors: {
  custom: {
    50: '#9969b5',
    500: '#6a2995',
    950: '#000000',
  },
}
SCSS
$custom: #6a2995;
$custom-light: #9969b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2995",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 276.111,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.17023,
    "h": 308.3
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#6A2995
secondary
#84BA60
accent
#E04884
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2995

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

Preview Lab → · Contrast checker → · Palette generator →

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