#6B2CB4#6B2CB4

#6B2CB4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.200 H 299.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6B2CB4
RGBrgb(107, 44, 180)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 76%, 71%)
CMYKcmyk(40.6%, 75.6%, 0%, 29.4%)
CIE-LABlab(34.44, 53.98, -60.85)
CIE-LCHlch(34.44, 81.34, 311.58°)
OKLaboklab(45.92% 0.0978 -0.1739)
OKLCHoklch(45.92% 0.2 299.3)
XYZxyz(15.2002, 8.2223, 43.9574)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CB4 #75B42C
analogous
#2C31B4 #6B2CB4 #AF2CB4
triadic
#6B2CB4 #B46B2C #2CB46B
tetradic
#6B2CB4 #B42C31 #75B42C #2CB4AF
square
#6B2CB4 #B42C31 #75B42C #2CB4AF
split-complementary
#6B2CB4 #B4AF2C #31B42C
monochromatic
#311452 #4E2083 #6B2CB4 #8A4AD3 #AA7CDF

Accessibility & contrast

On white

7.94
#6B2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2CB4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CB4#FFFFFF#000000##FFFFFF
##6B2CB41.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#5A506E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b2cb4;
/* rgb */ color: rgb(107, 44, 180);
/* oklch */ color: oklch(45.9% 0.200 299.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ccb',
    500: '#6b2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cb4;
$custom-light: #9c6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cb4",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 267.794,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.19951,
    "h": 299.3
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#6B2CB4
secondary
#A1C775
accent
#E4449A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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