#6A2B8D#6A2B8D

#6A2B8D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.159 H 310.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#6A2B8D
RGBrgb(106, 43, 141)
HSLhsl(279, 53%, 36%)
HSVhsv(279, 70%, 55%)
CMYKcmyk(24.8%, 69.5%, 0%, 44.7%)
CIE-LABlab(31.15, 44.89, -42.59)
CIE-LCHlch(31.15, 61.88, 316.50°)
OKLaboklab(42.61% 0.1043 -0.1203)
OKLCHoklch(42.61% 0.159 310.9)
XYZxyz(11.6145, 6.7153, 25.8785)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2B8D #4E8D2B
analogous
#392B8D #6A2B8D #8D2B7F
triadic
#6A2B8D #8D6A2B #2B8D6A
tetradic
#6A2B8D #8D392B #4E8D2B #2B7F8D
square
#6A2B8D #8D392B #4E8D2B #2B7F8D
split-complementary
#6A2B8D #7F8D2B #2B8D39
monochromatic
#230E2F #471D5E #6A2B8D #8D39BC #A963CF

Accessibility & contrast

On white

8.96
#6A2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6A2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2B8D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2B8D#FFFFFF#000000##FFFFFF
##6A2B8D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#1E4A8B
Tritanopia (blue-blind)
#654058
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a2b8d;
/* rgb */ color: rgb(106, 43, 141);
/* oklch */ color: oklch(42.6% 0.159 310.9);
Tailwind
colors: {
  custom: {
    50: '#9869af',
    500: '#6a2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #6a2b8d;
$custom-light: #9869af;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2b8d",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 278.571,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42615,
    "c": 0.15922,
    "h": 310.9
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#6A2B8D
secondary
#7DB65E
accent
#DD4B7F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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