#6A2B95#6A2B95

#6A2B95 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.168 H 308.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6A2B95
RGBrgb(106, 43, 149)
HSLhsl(276, 55%, 38%)
HSVhsv(276, 71%, 58%)
CMYKcmyk(28.9%, 71.1%, 0%, 41.6%)
CIE-LABlab(31.72, 46.74, -46.59)
CIE-LCHlch(31.72, 66.00, 315.09°)
OKLaboklab(43.2% 0.1034 -0.132)
OKLCHoklch(43.2% 0.168 308.1)
XYZxyz(12.2314, 6.9620, 29.1274)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2B95 #56952B
analogous
#352B95 #6A2B95 #952B8B
triadic
#6A2B95 #956A2B #2B956A
tetradic
#6A2B95 #95352B #56952B #2B8B95
square
#6A2B95 #95352B #56952B #2B8B95
split-complementary
#6A2B95 #8B952B #2B9535
monochromatic
#261036 #481D66 #6A2B95 #8C39C4 #A767D3

Accessibility & contrast

On white

8.78
#6A2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6A2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2B95
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2B95#FFFFFF#000000##FFFFFF
##6A2B951.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#104B93
Tritanopia (blue-blind)
#63435D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a2b95;
/* rgb */ color: rgb(106, 43, 149);
/* oklch */ color: oklch(43.2% 0.168 308.1);
Tailwind
colors: {
  custom: {
    50: '#996ab5',
    500: '#6a2b95',
    950: '#000000',
  },
}
SCSS
$custom: #6a2b95;
$custom-light: #996ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2b95",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 275.66,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43204,
    "c": 0.16769,
    "h": 308.1
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#6A2B95
secondary
#86BA62
accent
#DF4986
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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