#6B2BB3#6B2BB3

#6B2BB3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.200 H 299.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6B2BB3
RGBrgb(107, 43, 179)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 76%, 70%)
CMYKcmyk(40.2%, 76%, 0%, 29.8%)
CIE-LABlab(34.21, 54.16, -60.64)
CIE-LCHlch(34.21, 81.30, 311.77°)
OKLaboklab(45.73% 0.0989 -0.1733)
OKLCHoklch(45.73% 0.2 299.7)
XYZxyz(15.0619, 8.1081, 43.4106)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BB3 #73B32B
analogous
#2B2FB3 #6B2BB3 #AF2BB3
triadic
#6B2BB3 #B36B2B #2BB36B
tetradic
#6B2BB3 #B32B2F #73B32B #2BB3AF
square
#6B2BB3 #B32B2F #73B32B #2BB3AF
split-complementary
#6B2BB3 #B3AF2B #2FB32B
monochromatic
#301350 #4E1F82 #6B2BB3 #8A48D3 #A979DF

Accessibility & contrast

On white

8.01
#6B2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2BB3
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BB3#FFFFFF#000000##FFFFFF
##6B2BB31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#5A4F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2bb3;
/* rgb */ color: rgb(107, 43, 179);
/* oklch */ color: oklch(45.7% 0.200 299.7);
Tailwind
colors: {
  custom: {
    50: '#9c6bcb',
    500: '#6b2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #6b2bb3;
$custom-light: #9c6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2bb3",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 268.235,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.19953,
    "h": 299.7
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#6B2BB3
secondary
#9FC773
accent
#E44399
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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