#6A2BAC#6A2BAC

#6A2BAC is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.192 H 301.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6A2BAC
RGBrgb(106, 43, 172)
HSLhsl(269, 60%, 42%)
HSVhsv(269, 75%, 67%)
CMYKcmyk(38.4%, 75%, 0%, 32.5%)
CIE-LABlab(33.50, 52.27, -57.62)
CIE-LCHlch(33.50, 77.80, 312.21°)
OKLaboklab(45.02% 0.0991 -0.1645)
OKLCHoklch(45.02% 0.192 301.1)
XYZxyz(14.2523, 7.7704, 39.7707)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BAC #6DAC2B
analogous
#2B2DAC #6A2BAC #AA2BAC
triadic
#6A2BAC #AC6A2B #2BAC6A
tetradic
#6A2BAC #AC2B2D #6DAC2B #2BACAA
square
#6A2BAC #AC2B2D #6DAC2B #2BACAA
split-complementary
#6A2BAC #ACAA2B #2DAC2B
monochromatic
#2E134A #4C1F7B #6A2BAC #8844D0 #A775DC

Accessibility & contrast

On white

8.22
#6A2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6A2BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BAC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BAC#FFFFFF#000000##FFFFFF
##6A2BAC1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#5B4C6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a2bac;
/* rgb */ color: rgb(106, 43, 172);
/* oklch */ color: oklch(45.0% 0.192 301.1);
Tailwind
colors: {
  custom: {
    50: '#9b6bc6',
    500: '#6a2bac',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bac;
$custom-light: #9b6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bac",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 269.302,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45023,
    "c": 0.19202,
    "h": 301.1
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#6A2BAC
secondary
#9AC46F
accent
#E34596
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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