#6B2EB4#6B2EB4

#6B2EB4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.197 H 299.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6B2EB4
RGBrgb(107, 46, 180)
HSLhsl(267, 59%, 44%)
HSVhsv(267, 74%, 71%)
CMYKcmyk(40.6%, 74.4%, 0%, 29.4%)
CIE-LABlab(34.75, 53.09, -60.34)
CIE-LCHlch(34.75, 80.37, 311.34°)
OKLaboklab(46.14% 0.096 -0.1724)
OKLCHoklch(46.14% 0.197 299.1)
XYZxyz(15.2765, 8.3749, 43.9828)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EB4 #77B42E
analogous
#2E34B4 #6B2EB4 #AE2EB4
triadic
#6B2EB4 #B46B2E #2EB46B
tetradic
#6B2EB4 #B42E34 #77B42E #2EB4AE
square
#6B2EB4 #B42E34 #77B42E #2EB4AE
split-complementary
#6B2EB4 #B4AE2E #34B42E
monochromatic
#311553 #4E2283 #6B2EB4 #8A4ED2 #AA7EDE

Accessibility & contrast

On white

7.85
#6B2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6B2EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2EB4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2EB4#FFFFFF#000000##FFFFFF
##6B2EB41.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#59516F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2eb4;
/* rgb */ color: rgb(107, 46, 180);
/* oklch */ color: oklch(46.1% 0.197 299.1);
Tailwind
colors: {
  custom: {
    50: '#9c6dcb',
    500: '#6b2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #6b2eb4;
$custom-light: #9c6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2eb4",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 267.313,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46137,
    "c": 0.19736,
    "h": 299.1
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#6B2EB4
secondary
#A2C777
accent
#E2459B
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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