#6B2BA9#6B2BA9

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

Color values

HEX#6B2BA9
RGBrgb(107, 43, 169)
HSLhsl(270, 59%, 42%)
HSVhsv(270, 75%, 66%)
CMYKcmyk(36.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(33.39, 51.72, -56.00)
CIE-LCHlch(33.39, 76.23, 312.73°)
OKLaboklab(44.9% 0.1012 -0.1597)
OKLCHoklch(44.9% 0.189 302.4)
XYZxyz(14.0870, 7.7181, 38.2760)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BA9 #69A92B
analogous
#2C2BA9 #6B2BA9 #A92BA8
triadic
#6B2BA9 #A96B2B #2BA96B
tetradic
#6B2BA9 #A92C2B #69A92B #2BA8A9
square
#6B2BA9 #A92C2B #69A92B #2BA8A9
split-complementary
#6B2BA9 #A8A92B #2BA92C
monochromatic
#2D1247 #4C1F78 #6B2BA9 #8A42CF #A873DB

Accessibility & contrast

On white

8.26
#6B2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6B2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2BA9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BA9#FFFFFF#000000##FFFFFF
##6B2BA91.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2ba9;
/* rgb */ color: rgb(107, 43, 169);
/* oklch */ color: oklch(44.9% 0.189 302.4);
Tailwind
colors: {
  custom: {
    50: '#9b6bc3',
    500: '#6b2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ba9;
$custom-light: #9b6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ba9",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 270.476,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44898,
    "c": 0.18905,
    "h": 302.4
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#6B2BA9
secondary
#97C36D
accent
#E34593
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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