#6B2EAA#6B2EAA

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

Color values

HEX#6B2EAA
RGBrgb(107, 46, 170)
HSLhsl(270, 57%, 42%)
HSVhsv(270, 73%, 67%)
CMYKcmyk(37.1%, 72.9%, 0%, 33.3%)
CIE-LABlab(33.95, 50.61, -55.69)
CIE-LCHlch(33.95, 75.26, 312.27°)
OKLaboklab(45.32% 0.0981 -0.1588)
OKLCHoklch(45.32% 0.187 301.7)
XYZxyz(14.2944, 7.9820, 38.8100)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EAA #6DAA2E
analogous
#2E2FAA #6B2EAA #A92EAA
triadic
#6B2EAA #AA6B2E #2EAA6B
tetradic
#6B2EAA #AA2E2F #6DAA2E #2EAAA9
square
#6B2EAA #AA2E2F #6DAA2E #2EAAA9
split-complementary
#6B2EAA #AAA92E #2FAA2E
monochromatic
#2E144A #4D217A #6B2EAA #8A48CD #A878DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2EAA#FFFFFF#000000##FFFFFF
##6B2EAA1.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)
#004FAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#5D4C69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2eaa;
/* rgb */ color: rgb(107, 46, 170);
/* oklch */ color: oklch(45.3% 0.187 301.7);
Tailwind
colors: {
  custom: {
    50: '#9b6cc4',
    500: '#6b2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6b2eaa;
$custom-light: #9b6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2eaa",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 269.516,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45316,
    "c": 0.18666,
    "h": 301.7
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#6B2EAA
secondary
#9BC371
accent
#E14795
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6B2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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