#6A2CB4#6A2CB4

#6A2CB4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.199 H 298.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6A2CB4
RGBrgb(106, 44, 180)
HSLhsl(267, 61%, 44%)
HSVhsv(267, 76%, 71%)
CMYKcmyk(41.1%, 75.6%, 0%, 29.4%)
CIE-LABlab(34.32, 53.81, -61.06)
CIE-LCHlch(34.32, 81.39, 311.39°)
OKLaboklab(45.8% 0.0963 -0.1746)
OKLCHoklch(45.8% 0.199 298.9)
XYZxyz(15.0807, 8.1606, 43.9518)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CB4 #76B42C
analogous
#2C32B4 #6A2CB4 #AE2CB4
triadic
#6A2CB4 #B46A2C #2CB46A
tetradic
#6A2CB4 #B42C32 #76B42C #2CB4AE
square
#6A2CB4 #B42C32 #76B42C #2CB4AE
split-complementary
#6A2CB4 #B4AE2C #32B42C
monochromatic
#301452 #4D2083 #6A2CB4 #894AD3 #A97CDF

Accessibility & contrast

On white

7.98
#6A2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6A2CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CB4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CB4#FFFFFF#000000##FFFFFF
##6A2CB41.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#58506E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2cb4;
/* rgb */ color: rgb(106, 44, 180);
/* oklch */ color: oklch(45.8% 0.199 298.9);
Tailwind
colors: {
  custom: {
    50: '#9b6ccb',
    500: '#6a2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cb4;
$custom-light: #9b6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cb4",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 267.353,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.19938,
    "h": 298.9
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#6A2CB4
secondary
#A2C775
accent
#E4449B
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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