#6B2A9E#6B2A9E

#6B2A9E is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.179 H 305.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6B2A9E
RGBrgb(107, 42, 158)
HSLhsl(274, 58%, 39%)
HSVhsv(274, 73%, 62%)
CMYKcmyk(32.3%, 73.4%, 0%, 38%)
CIE-LABlab(32.37, 49.53, -51.02)
CIE-LCHlch(32.37, 71.10, 314.15°)
OKLaboklab(43.91% 0.1044 -0.145)
OKLCHoklch(43.91% 0.179 305.7)
XYZxyz(13.0616, 7.2505, 33.0525)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2A9E #5D9E2A
analogous
#312A9E #6B2A9E #9E2A97
triadic
#6B2A9E #9E6B2A #2A9E6B
tetradic
#6B2A9E #9E312A #5D9E2A #2A979E
square
#6B2A9E #9E312A #5D9E2A #2A979E
split-complementary
#6B2A9E #979E2A #2A9E31
monochromatic
#2A103D #4A1D6E #6B2A9E #8B3ACB #A86BD8

Accessibility & contrast

On white

8.57
#6B2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6B2A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2A9E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2A9E#FFFFFF#000000##FFFFFF
##6B2A9E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#624661
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b2a9e;
/* rgb */ color: rgb(107, 42, 158);
/* oklch */ color: oklch(43.9% 0.179 305.7);
Tailwind
colors: {
  custom: {
    50: '#9a6abb',
    500: '#6b2a9e',
    950: '#000000',
  },
}
SCSS
$custom: #6b2a9e;
$custom-light: #9a6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2a9e",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 273.621,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43908,
    "c": 0.17868,
    "h": 305.7
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#6B2A9E
secondary
#8DBE66
accent
#E1478B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6B2A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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