#6A2B97#6A2B97

#6A2B97 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.170 H 307.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6A2B97
RGBrgb(106, 43, 151)
HSLhsl(275, 56%, 38%)
HSVhsv(275, 72%, 59%)
CMYKcmyk(29.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(31.87, 47.21, -47.58)
CIE-LCHlch(31.87, 67.03, 314.78°)
OKLaboklab(43.36% 0.1031 -0.1349)
OKLCHoklch(43.36% 0.17 307.4)
XYZxyz(12.3925, 7.0265, 29.9756)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2B97 #58972B
analogous
#342B97 #6A2B97 #972B8E
triadic
#6A2B97 #976A2B #2B976A
tetradic
#6A2B97 #97342B #58972B #2B8E97
square
#6A2B97 #97342B #58972B #2B8E97
split-complementary
#6A2B97 #8E972B #2B9734
monochromatic
#271038 #491D67 #6A2B97 #8B39C7 #A768D4

Accessibility & contrast

On white

8.73
#6A2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6A2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2B97
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2B97#FFFFFF#000000##FFFFFF
##6A2B971.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#0A4B95
Tritanopia (blue-blind)
#63435E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a2b97;
/* rgb */ color: rgb(106, 43, 151);
/* oklch */ color: oklch(43.4% 0.170 307.4);
Tailwind
colors: {
  custom: {
    50: '#996ab6',
    500: '#6a2b97',
    950: '#000000',
  },
}
SCSS
$custom: #6a2b97;
$custom-light: #996ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2b97",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 275,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.16981,
    "h": 307.4
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#6A2B97
secondary
#88BB63
accent
#DF4987
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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