#6B2BB4#6B2BB4

#6B2BB4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.201 H 299.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6B2BB4
RGBrgb(107, 43, 180)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 76%, 71%)
CMYKcmyk(40.6%, 76.1%, 0%, 29.4%)
CIE-LABlab(34.29, 54.41, -61.09)
CIE-LCHlch(34.29, 81.81, 311.69°)
OKLaboklab(45.81% 0.0987 -0.1746)
OKLCHoklch(45.81% 0.201 299.5)
XYZxyz(15.1634, 8.1487, 43.9451)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BB4 #74B42B
analogous
#2B2FB4 #6B2BB4 #AF2BB4
triadic
#6B2BB4 #B46B2B #2BB46B
tetradic
#6B2BB4 #B42B2F #74B42B #2BB4AF
square
#6B2BB4 #B42B2F #74B42B #2BB4AF
split-complementary
#6B2BB4 #B4AF2B #2FB42B
monochromatic
#301351 #4E1F83 #6B2BB4 #8A49D3 #A97ADF

Accessibility & contrast

On white

7.99
#6B2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2BB4
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BB4#FFFFFF#000000##FFFFFF
##6B2BB41.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#5A4F6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b2bb4;
/* rgb */ color: rgb(107, 43, 180);
/* oklch */ color: oklch(45.8% 0.201 299.5);
Tailwind
colors: {
  custom: {
    50: '#9c6bcb',
    500: '#6b2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #6b2bb4;
$custom-light: #9c6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2bb4",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 268.029,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.20057,
    "h": 299.5
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#6B2BB4
secondary
#A0C773
accent
#E54399
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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