#6A2D91#6A2D91

#6A2D91 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.161 H 309.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6A2D91
RGBrgb(106, 45, 145)
HSLhsl(277, 53%, 37%)
HSVhsv(277, 69%, 57%)
CMYKcmyk(26.9%, 69%, 0%, 43.1%)
CIE-LABlab(31.77, 44.86, -44.05)
CIE-LCHlch(31.77, 62.87, 315.52°)
OKLaboklab(43.15% 0.1016 -0.1246)
OKLCHoklch(43.15% 0.161 309.2)
XYZxyz(11.9921, 6.9855, 27.4992)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2D91 #54912D
analogous
#382D91 #6A2D91 #912D86
triadic
#6A2D91 #916A2D #2D916A
tetradic
#6A2D91 #91382D #54912D #2D8691
square
#6A2D91 #91382D #54912D #2D8691
split-complementary
#6A2D91 #86912D #2D9138
monochromatic
#261034 #481F62 #6A2D91 #8C3BC0 #A868D0

Accessibility & contrast

On white

8.76
#6A2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6A2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2D91
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2D91#FFFFFF#000000##FFFFFF
##6A2D911.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#1B4C8F
Tritanopia (blue-blind)
#64425B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a2d91;
/* rgb */ color: rgb(106, 45, 145);
/* oklch */ color: oklch(43.2% 0.161 309.2);
Tailwind
colors: {
  custom: {
    50: '#986bb2',
    500: '#6a2d91',
    950: '#000000',
  },
}
SCSS
$custom: #6a2d91;
$custom-light: #986bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2d91",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 276.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43151,
    "c": 0.16075,
    "h": 309.2
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#6A2D91
secondary
#84B763
accent
#DC4C84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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