#6A2BA9#6A2BA9

#6A2BA9 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.189 H 301.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6A2BA9
RGBrgb(106, 43, 169)
HSLhsl(270, 59%, 42%)
HSVhsv(270, 75%, 66%)
CMYKcmyk(37.3%, 74.6%, 0%, 33.7%)
CIE-LABlab(33.26, 51.54, -56.22)
CIE-LCHlch(33.26, 76.27, 312.51°)
OKLaboklab(44.78% 0.0998 -0.1603)
OKLCHoklch(44.78% 0.189 301.9)
XYZxyz(13.9674, 7.6564, 38.2704)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BA9 #6AA92B
analogous
#2B2BA9 #6A2BA9 #A92BA9
triadic
#6A2BA9 #A96A2B #2BA96A
tetradic
#6A2BA9 #A92B2B #6AA92B #2BA9A9
square
#6A2BA9 #A92B2B #6AA92B #2BA9A9
split-complementary
#6A2BA9 #A9A92B #2BA92B
monochromatic
#2D1247 #4B1F78 #6A2BA9 #8942CF #A773DB

Accessibility & contrast

On white

8.30
#6A2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6A2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BA9
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BA9#FFFFFF#000000##FFFFFF
##6A2BA91.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#5C4B68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2ba9;
/* rgb */ color: rgb(106, 43, 169);
/* oklch */ color: oklch(44.8% 0.189 301.9);
Tailwind
colors: {
  custom: {
    50: '#9a6bc3',
    500: '#6a2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ba9;
$custom-light: #9a6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ba9",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 270,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44776,
    "c": 0.18886,
    "h": 301.9
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#6A2BA9
secondary
#98C36D
accent
#E34594
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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