#6B2FAA#6B2FAA

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

Color values

HEX#6B2FAA
RGBrgb(107, 47, 170)
HSLhsl(269, 57%, 43%)
HSVhsv(269, 72%, 67%)
CMYKcmyk(37.1%, 72.4%, 0%, 33.3%)
CIE-LABlab(34.11, 50.15, -55.43)
CIE-LCHlch(34.11, 74.75, 312.14°)
OKLaboklab(45.43% 0.0972 -0.158)
OKLCHoklch(45.43% 0.185 301.6)
XYZxyz(14.3339, 8.0610, 38.8232)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2FAA #6EAA2F
analogous
#2F31AA #6B2FAA #A82FAA
triadic
#6B2FAA #AA6B2F #2FAA6B
tetradic
#6B2FAA #AA2F31 #6EAA2F #2FAAA8
square
#6B2FAA #AA2F31 #6EAA2F #2FAAA8
split-complementary
#6B2FAA #AAA82F #31AA2F
monochromatic
#2F144A #4D227A #6B2FAA #8949CD #A979DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2FAA#FFFFFF#000000##FFFFFF
##6B2FAA1.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)
#004FAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#5D4D69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2faa;
/* rgb */ color: rgb(107, 47, 170);
/* oklch */ color: oklch(45.4% 0.185 301.6);
Tailwind
colors: {
  custom: {
    50: '#9b6dc4',
    500: '#6b2faa',
    950: '#000000',
  },
}
SCSS
$custom: #6b2faa;
$custom-light: #9b6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2faa",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 269.268,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.18548,
    "h": 301.6
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#6B2FAA
secondary
#9BC272
accent
#E04896
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6B2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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