#6A2BB7#6A2BB7

#6A2BB7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.204 H 298.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6A2BB7
RGBrgb(106, 43, 183)
HSLhsl(267, 62%, 44%)
HSVhsv(267, 77%, 72%)
CMYKcmyk(42.1%, 76.5%, 0%, 28.2%)
CIE-LABlab(34.42, 54.99, -62.67)
CIE-LCHlch(34.42, 83.37, 311.26°)
OKLaboklab(45.95% 0.0964 -0.1793)
OKLCHoklch(45.95% 0.204 298.3)
XYZxyz(15.3528, 8.2106, 45.5665)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BB7 #78B72B
analogous
#2B32B7 #6A2BB7 #B02BB7
triadic
#6A2BB7 #B76A2B #2BB76A
tetradic
#6A2BB7 #B72B32 #78B72B #2BB7B0
square
#6A2BB7 #B72B32 #78B72B #2BB7B0
split-complementary
#6A2BB7 #B7B02B #32B72B
monochromatic
#311454 #4D1F85 #6A2BB7 #894BD5 #A97CE0

Accessibility & contrast

On white

7.95
#6A2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6A2BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BB7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BB7#FFFFFF#000000##FFFFFF
##6A2BB71.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#575070
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2bb7;
/* rgb */ color: rgb(106, 43, 183);
/* oklch */ color: oklch(46.0% 0.204 298.3);
Tailwind
colors: {
  custom: {
    50: '#9c6bce',
    500: '#6a2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bb7;
$custom-light: #9c6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bb7",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 267,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45952,
    "c": 0.20358,
    "h": 298.3
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#6A2BB7
secondary
#A3C975
accent
#E5439C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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