#6B2CB5#6B2CB5

#6B2CB5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.201 H 299.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6B2CB5
RGBrgb(107, 44, 181)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 76%, 71%)
CMYKcmyk(40.9%, 75.7%, 0%, 29%)
CIE-LABlab(34.53, 54.23, -61.30)
CIE-LCHlch(34.53, 81.84, 311.49°)
OKLaboklab(46% 0.0975 -0.1753)
OKLCHoklch(46% 0.201 299.1)
XYZxyz(15.3025, 8.2632, 44.4958)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CB5 #76B52C
analogous
#2C32B5 #6B2CB5 #B02CB5
triadic
#6B2CB5 #B56B2C #2CB56B
tetradic
#6B2CB5 #B52C32 #76B52C #2CB5B0
square
#6B2CB5 #B52C32 #76B52C #2CB5B0
split-complementary
#6B2CB5 #B5B02C #32B52C
monochromatic
#311453 #4E2084 #6B2CB5 #8A4BD3 #AA7CDF

Accessibility & contrast

On white

7.92
#6B2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6B2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CB5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CB5#FFFFFF#000000##FFFFFF
##6B2CB51.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#59506F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b2cb5;
/* rgb */ color: rgb(107, 44, 181);
/* oklch */ color: oklch(46.0% 0.201 299.1);
Tailwind
colors: {
  custom: {
    50: '#9c6ccc',
    500: '#6b2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cb5;
$custom-light: #9c6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cb5",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 267.591,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.20057,
    "h": 299.1
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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