#6B2AB5#6B2AB5

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

Color values

HEX#6B2AB5
RGBrgb(107, 42, 181)
HSLhsl(268, 62%, 44%)
HSVhsv(268, 77%, 71%)
CMYKcmyk(40.9%, 76.8%, 0%, 29%)
CIE-LABlab(34.23, 55.08, -61.79)
CIE-LCHlch(34.23, 82.78, 311.71°)
OKLaboklab(45.79% 0.0993 -0.1767)
OKLCHoklch(45.79% 0.203 299.3)
XYZxyz(15.2297, 8.1177, 44.4716)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2AB5 #74B52A
analogous
#2A2EB5 #6B2AB5 #B02AB5
triadic
#6B2AB5 #B56B2A #2AB56B
tetradic
#6B2AB5 #B52A2E #74B52A #2AB5B0
square
#6B2AB5 #B52A2E #74B52A #2AB5B0
split-complementary
#6B2AB5 #B5B02A #2EB52A
monochromatic
#301352 #4E1E83 #6B2AB5 #8A48D4 #A979E0

Accessibility & contrast

On white

8.00
#6B2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2AB5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2AB5#FFFFFF#000000##FFFFFF
##6B2AB51.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#594F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2ab5;
/* rgb */ color: rgb(107, 42, 181);
/* oklch */ color: oklch(45.8% 0.203 299.3);
Tailwind
colors: {
  custom: {
    50: '#9c6bcc',
    500: '#6b2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ab5;
$custom-light: #9c6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ab5",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 268.058,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45794,
    "c": 0.20264,
    "h": 299.3
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#6B2AB5
secondary
#A0C873
accent
#E54299
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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