#6B2CAD#6B2CAD

#6B2CAD is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.192 H 301.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6B2CAD
RGBrgb(107, 44, 173)
HSLhsl(269, 59%, 43%)
HSVhsv(269, 75%, 68%)
CMYKcmyk(38.2%, 74.6%, 0%, 32.2%)
CIE-LABlab(33.87, 52.26, -57.62)
CIE-LCHlch(33.87, 77.78, 312.21°)
OKLaboklab(45.34% 0.0994 -0.1644)
OKLCHoklch(45.34% 0.192 301.2)
XYZxyz(14.5051, 7.9442, 40.2963)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CAD #6EAD2C
analogous
#2C2EAD #6B2CAD #AB2CAD
triadic
#6B2CAD #AD6B2C #2CAD6B
tetradic
#6B2CAD #AD2C2E #6EAD2C #2CADAB
square
#6B2CAD #AD2C2E #6EAD2C #2CADAB
split-complementary
#6B2CAD #ADAB2C #2EAD2C
monochromatic
#2F134B #4D207C #6B2CAD #8946D0 #A977DC

Accessibility & contrast

On white

8.11
#6B2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6B2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CAD
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CAD#FFFFFF#000000##FFFFFF
##6B2CAD1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#5C4D6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2cad;
/* rgb */ color: rgb(107, 44, 173);
/* oklch */ color: oklch(45.3% 0.192 301.2);
Tailwind
colors: {
  custom: {
    50: '#9b6bc6',
    500: '#6b2cad',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cad;
$custom-light: #9b6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cad",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 269.302,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45335,
    "c": 0.19214,
    "h": 301.2
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#6B2CAD
secondary
#9BC471
accent
#E34596
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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