#6A2D96#6A2D96

#6A2D96 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.166 H 307.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#6A2D96
RGBrgb(106, 45, 150)
HSLhsl(275, 54%, 38%)
HSVhsv(275, 70%, 59%)
CMYKcmyk(29.3%, 70%, 0%, 41.2%)
CIE-LABlab(32.13, 46.04, -46.54)
CIE-LCHlch(32.13, 65.46, 314.69°)
OKLaboklab(43.52% 0.101 -0.1319)
OKLCHoklch(43.52% 0.166 307.4)
XYZxyz(12.3861, 7.1431, 29.5745)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2D96 #59962D
analogous
#352D96 #6A2D96 #962D8D
triadic
#6A2D96 #966A2D #2D966A
tetradic
#6A2D96 #96352D #59962D #2D8D96
square
#6A2D96 #96352D #59962D #2D8D96
split-complementary
#6A2D96 #8D962D #2D9635
monochromatic
#271138 #491F67 #6A2D96 #8B3CC4 #A76BD3

Accessibility & contrast

On white

8.65
#6A2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6A2D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2D96
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2D96#FFFFFF#000000##FFFFFF
##6A2D961.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#124C94
Tritanopia (blue-blind)
#63445E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a2d96;
/* rgb */ color: rgb(106, 45, 150);
/* oklch */ color: oklch(43.5% 0.166 307.4);
Tailwind
colors: {
  custom: {
    50: '#996bb6',
    500: '#6a2d96',
    950: '#000000',
  },
}
SCSS
$custom: #6a2d96;
$custom-light: #996bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2d96",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 274.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4352,
    "c": 0.16615,
    "h": 307.4
  },
  "luminance": 0.07143
}

Semantic roles & 50–950 ramp

primary
#6A2D96
secondary
#89B965
accent
#DD4B88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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