#6B2B9E#6B2B9E

#6B2B9E is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.177 H 305.6°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6B2B9E
RGBrgb(107, 43, 158)
HSLhsl(273, 57%, 39%)
HSVhsv(273, 73%, 62%)
CMYKcmyk(32.3%, 72.8%, 0%, 38%)
CIE-LABlab(32.53, 49.08, -50.76)
CIE-LCHlch(32.53, 70.61, 314.04°)
OKLaboklab(44.02% 0.1034 -0.1443)
OKLCHoklch(44.02% 0.177 305.6)
XYZxyz(13.0975, 7.3223, 33.0645)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2B9E #5E9E2B
analogous
#312B9E #6B2B9E #9E2B98
triadic
#6B2B9E #9E6B2B #2B9E6B
tetradic
#6B2B9E #9E312B #5E9E2B #2B989E
square
#6B2B9E #9E312B #5E9E2B #2B989E
split-complementary
#6B2B9E #989E2B #2B9E31
monochromatic
#2A113E #4A1E6E #6B2B9E #8B3CCA #A86CD7

Accessibility & contrast

On white

8.52
#6B2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6B2B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2B9E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2B9E#FFFFFF#000000##FFFFFF
##6B2B9E1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#624662
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b2b9e;
/* rgb */ color: rgb(107, 43, 158);
/* oklch */ color: oklch(44.0% 0.177 305.6);
Tailwind
colors: {
  custom: {
    50: '#9a6abb',
    500: '#6b2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #6b2b9e;
$custom-light: #9a6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2b9e",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 273.391,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.17747,
    "h": 305.6
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#6B2B9E
secondary
#8DBE67
accent
#E0478B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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