#6A2CB2#6A2CB2

#6A2CB2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.197 H 299.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6A2CB2
RGBrgb(106, 44, 178)
HSLhsl(268, 60%, 44%)
HSVhsv(268, 75%, 70%)
CMYKcmyk(40.4%, 75.3%, 0%, 30.2%)
CIE-LABlab(34.15, 53.31, -60.14)
CIE-LCHlch(34.15, 80.37, 311.55°)
OKLaboklab(45.63% 0.0968 -0.1719)
OKLCHoklch(45.63% 0.197 299.4)
XYZxyz(14.8784, 8.0797, 42.8865)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CB2 #74B22C
analogous
#2C31B2 #6A2CB2 #AD2CB2
triadic
#6A2CB2 #B26A2C #2CB26A
tetradic
#6A2CB2 #B22C31 #74B22C #2CB2AD
square
#6A2CB2 #B22C31 #74B22C #2CB2AD
split-complementary
#6A2CB2 #B2AD2C #31B22C
monochromatic
#301450 #4D2081 #6A2CB2 #8849D2 #A87ADE

Accessibility & contrast

On white

8.03
#6A2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6A2CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CB2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CB2#FFFFFF#000000##FFFFFF
##6A2CB21.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#594F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2cb2;
/* rgb */ color: rgb(106, 44, 178);
/* oklch */ color: oklch(45.6% 0.197 299.4);
Tailwind
colors: {
  custom: {
    50: '#9b6cca',
    500: '#6a2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cb2;
$custom-light: #9b6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cb2",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 267.761,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45633,
    "c": 0.19727,
    "h": 299.4
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#6A2CB2
secondary
#A0C673
accent
#E4449A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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