#6B2CAE#6B2CAE

#6B2CAE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.193 H 300.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6B2CAE
RGBrgb(107, 44, 174)
HSLhsl(269, 60%, 43%)
HSVhsv(269, 75%, 68%)
CMYKcmyk(38.5%, 74.7%, 0%, 31.8%)
CIE-LABlab(33.95, 52.50, -58.08)
CIE-LCHlch(33.95, 78.29, 312.11°)
OKLaboklab(45.42% 0.0992 -0.1658)
OKLCHoklch(45.42% 0.193 300.9)
XYZxyz(14.6022, 7.9830, 40.8078)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CAE #6FAE2C
analogous
#2C2EAE #6B2CAE #AC2CAE
triadic
#6B2CAE #AE6B2C #2CAE6B
tetradic
#6B2CAE #AE2C2E #6FAE2C #2CAEAC
square
#6B2CAE #AE2C2E #6FAE2C #2CAEAC
split-complementary
#6B2CAE #AEAC2C #2EAE2C
monochromatic
#2F134C #4D207D #6B2CAE #8947D0 #A978DD

Accessibility & contrast

On white

8.09
#6B2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6B2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CAE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CAE#FFFFFF#000000##FFFFFF
##6B2CAE1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#5C4D6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2cae;
/* rgb */ color: rgb(107, 44, 174);
/* oklch */ color: oklch(45.4% 0.193 300.9);
Tailwind
colors: {
  custom: {
    50: '#9b6bc7',
    500: '#6b2cae',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cae;
$custom-light: #9b6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cae",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 269.077,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.1932,
    "h": 300.9
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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