#6A2B9D#6A2B9D

#6A2B9D is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.176 H 305.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6A2B9D
RGBrgb(106, 43, 157)
HSLhsl(273, 57%, 39%)
HSVhsv(273, 73%, 62%)
CMYKcmyk(32.5%, 72.6%, 0%, 38.4%)
CIE-LABlab(32.32, 48.64, -50.50)
CIE-LCHlch(32.32, 70.12, 313.92°)
OKLaboklab(43.82% 0.1021 -0.1435)
OKLCHoklch(43.82% 0.176 305.4)
XYZxyz(12.8922, 7.2263, 32.6074)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2B9D #5E9D2B
analogous
#312B9D #6A2B9D #9D2B97
triadic
#6A2B9D #9D6A2B #2B9D6A
tetradic
#6A2B9D #9D312B #5E9D2B #2B979D
square
#6A2B9D #9D312B #5E9D2B #2B979D
split-complementary
#6A2B9D #979D2B #2B9D31
monochromatic
#29113D #4A1E6D #6A2B9D #8A3CCA #A76CD7

Accessibility & contrast

On white

8.59
#6A2B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2B9D
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2B9D#FFFFFF#000000##FFFFFF
##6A2B9D1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#614661
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a2b9d;
/* rgb */ color: rgb(106, 43, 157);
/* oklch */ color: oklch(43.8% 0.176 305.4);
Tailwind
colors: {
  custom: {
    50: '#996abb',
    500: '#6a2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #6a2b9d;
$custom-light: #996abb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2b9d",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 273.158,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43817,
    "c": 0.17617,
    "h": 305.4
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#6A2B9D
secondary
#8DBD66
accent
#E0488C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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