#6B2EB3#6B2EB3

#6B2EB3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.196 H 299.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6B2EB3
RGBrgb(107, 46, 179)
HSLhsl(268, 59%, 44%)
HSVhsv(268, 74%, 70%)
CMYKcmyk(40.2%, 74.3%, 0%, 29.8%)
CIE-LABlab(34.67, 52.84, -59.88)
CIE-LCHlch(34.67, 79.86, 311.43°)
OKLaboklab(46.05% 0.0962 -0.1711)
OKLCHoklch(46.05% 0.196 299.4)
XYZxyz(15.1750, 8.3343, 43.4483)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EB3 #76B32E
analogous
#2E34B3 #6B2EB3 #AE2EB3
triadic
#6B2EB3 #B36B2E #2EB36B
tetradic
#6B2EB3 #B32E34 #76B32E #2EB3AE
square
#6B2EB3 #B32E34 #76B32E #2EB3AE
split-complementary
#6B2EB3 #B3AE2E #34B32E
monochromatic
#311552 #4E2182 #6B2EB3 #8A4DD1 #AA7EDE

Accessibility & contrast

On white

7.87
#6B2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6B2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2EB3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2EB3#FFFFFF#000000##FFFFFF
##6B2EB31.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#5A506E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2eb3;
/* rgb */ color: rgb(107, 46, 179);
/* oklch */ color: oklch(46.1% 0.196 299.4);
Tailwind
colors: {
  custom: {
    50: '#9c6dcb',
    500: '#6b2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #6b2eb3;
$custom-light: #9c6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2eb3",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 267.519,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46054,
    "c": 0.19629,
    "h": 299.4
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#6B2EB3
secondary
#A2C676
accent
#E2469A
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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