#6A2CB0#6A2CB0

#6A2CB0 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.195 H 299.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6A2CB0
RGBrgb(106, 44, 176)
HSLhsl(268, 60%, 43%)
HSVhsv(268, 75%, 69%)
CMYKcmyk(39.8%, 75%, 0%, 31%)
CIE-LABlab(33.98, 52.82, -59.22)
CIE-LCHlch(33.98, 79.35, 311.73°)
OKLaboklab(45.47% 0.0973 -0.1692)
OKLCHoklch(45.47% 0.195 299.9)
XYZxyz(14.6791, 8.0000, 41.8367)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CB0 #72B02C
analogous
#2C30B0 #6A2CB0 #AC2CB0
triadic
#6A2CB0 #B06A2C #2CB06A
tetradic
#6A2CB0 #B02C30 #72B02C #2CB0AC
square
#6A2CB0 #B02C30 #72B02C #2CB0AC
split-complementary
#6A2CB0 #B0AC2C #30B02C
monochromatic
#2F144E #4D207F #6A2CB0 #8848D1 #A879DD

Accessibility & contrast

On white

8.08
#6A2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6A2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CB0
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CB0#FFFFFF#000000##FFFFFF
##6A2CB01.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#5A4E6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2cb0;
/* rgb */ color: rgb(106, 44, 176);
/* oklch */ color: oklch(45.5% 0.195 299.9);
Tailwind
colors: {
  custom: {
    50: '#9b6bc9',
    500: '#6a2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cb0;
$custom-light: #9b6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cb0",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 268.182,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45465,
    "c": 0.19515,
    "h": 299.9
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#6A2CB0
secondary
#9EC672
accent
#E34599
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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