#6B2EAB#6B2EAB

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

Color values

HEX#6B2EAB
RGBrgb(107, 46, 171)
HSLhsl(269, 58%, 43%)
HSVhsv(269, 73%, 67%)
CMYKcmyk(37.4%, 73.1%, 0%, 32.9%)
CIE-LABlab(34.02, 50.86, -56.16)
CIE-LCHlch(34.02, 75.77, 312.16°)
OKLaboklab(45.4% 0.0979 -0.1602)
OKLCHoklch(45.4% 0.188 301.4)
XYZxyz(14.3893, 8.0200, 39.3101)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EAB #6EAB2E
analogous
#2E2FAB #6B2EAB #AA2EAB
triadic
#6B2EAB #AB6B2E #2EAB6B
tetradic
#6B2EAB #AB2E2F #6EAB2E #2EABAA
square
#6B2EAB #AB2E2F #6EAB2E #2EABAA
split-complementary
#6B2EAB #ABAA2E #2FAB2E
monochromatic
#2F144B #4D217B #6B2EAB #8948CE #A979DB

Accessibility & contrast

On white

8.06
#6B2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2EAB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2EAB#FFFFFF#000000##FFFFFF
##6B2EAB1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#5D4D6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2eab;
/* rgb */ color: rgb(107, 46, 171);
/* oklch */ color: oklch(45.4% 0.188 301.4);
Tailwind
colors: {
  custom: {
    50: '#9b6cc5',
    500: '#6b2eab',
    950: '#000000',
  },
}
SCSS
$custom: #6b2eab;
$custom-light: #9b6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2eab",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 269.28,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.18773,
    "h": 301.4
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#6B2EAB
secondary
#9BC372
accent
#E14796
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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