#6B2A9B#6B2A9B

#6B2A9B is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.176 H 306.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6B2A9B
RGBrgb(107, 42, 155)
HSLhsl(275, 57%, 39%)
HSVhsv(275, 73%, 61%)
CMYKcmyk(31%, 72.9%, 0%, 39.2%)
CIE-LABlab(32.14, 48.82, -49.56)
CIE-LCHlch(32.14, 69.57, 314.57°)
OKLaboklab(43.68% 0.1049 -0.1407)
OKLCHoklch(43.68% 0.176 306.7)
XYZxyz(12.8065, 7.1484, 31.7091)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2A9B #5A9B2A
analogous
#322A9B #6B2A9B #9B2A92
triadic
#6B2A9B #9B6B2A #2A9B6B
tetradic
#6B2A9B #9B322A #5A9B2A #2A929B
square
#6B2A9B #9B322A #5A9B2A #2A929B
split-complementary
#6B2A9B #929B2A #2A9B32
monochromatic
#29103B #4A1D6B #6B2A9B #8C39C9 #A869D6

Accessibility & contrast

On white

8.64
#6B2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6B2A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2A9B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2A9B#FFFFFF#000000##FFFFFF
##6B2A9B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#634460
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b2a9b;
/* rgb */ color: rgb(107, 42, 155);
/* oklch */ color: oklch(43.7% 0.176 306.7);
Tailwind
colors: {
  custom: {
    50: '#9a6ab9',
    500: '#6b2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #6b2a9b;
$custom-light: #9a6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2a9b",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 274.513,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43675,
    "c": 0.17554,
    "h": 306.7
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#6B2A9B
secondary
#8ABD64
accent
#E14788
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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