#6B2DAE#6B2DAE

#6B2DAE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.192 H 300.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6B2DAE
RGBrgb(107, 45, 174)
HSLhsl(269, 59%, 43%)
HSVhsv(269, 74%, 68%)
CMYKcmyk(38.5%, 74.1%, 0%, 31.8%)
CIE-LABlab(34.10, 52.05, -57.83)
CIE-LCHlch(34.10, 77.80, 311.99°)
OKLaboklab(45.53% 0.0983 -0.165)
OKLCHoklch(45.53% 0.192 300.8)
XYZxyz(14.6399, 8.0585, 40.8203)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2DAE #70AE2D
analogous
#2D30AE #6B2DAE #AB2DAE
triadic
#6B2DAE #AE6B2D #2DAE6B
tetradic
#6B2DAE #AE2D30 #70AE2D #2DAEAB
square
#6B2DAE #AE2D30 #70AE2D #2DAEAB
split-complementary
#6B2DAE #AEAB2D #30AE2D
monochromatic
#2F144D #4D207D #6B2DAE #8948D0 #A979DC

Accessibility & contrast

On white

8.04
#6B2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6B2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2DAE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2DAE#FFFFFF#000000##FFFFFF
##6B2DAE1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#5C4E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2dae;
/* rgb */ color: rgb(107, 45, 174);
/* oklch */ color: oklch(45.5% 0.192 300.8);
Tailwind
colors: {
  custom: {
    50: '#9b6cc7',
    500: '#6b2dae',
    950: '#000000',
  },
}
SCSS
$custom: #6b2dae;
$custom-light: #9b6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2dae",
  "rgb": {
    "r": 107,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 268.837,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45528,
    "c": 0.19208,
    "h": 300.8
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#6B2DAE
secondary
#9DC472
accent
#E24697
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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