#6B2FB1#6B2FB1

#6B2FB1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.193 H 299.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6B2FB1
RGBrgb(107, 47, 177)
HSLhsl(268, 58%, 44%)
HSVhsv(268, 73%, 69%)
CMYKcmyk(39.5%, 73.4%, 0%, 30.6%)
CIE-LABlab(34.67, 51.89, -58.70)
CIE-LCHlch(34.67, 78.35, 311.48°)
OKLaboklab(46% 0.0957 -0.1676)
OKLCHoklch(46% 0.193 299.7)
XYZxyz(15.0137, 8.3330, 42.4039)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2FB1 #75B12F
analogous
#2F34B1 #6B2FB1 #AC2FB1
triadic
#6B2FB1 #B16B2F #2FB16B
tetradic
#6B2FB1 #B12F34 #75B12F #2FB1AC
square
#6B2FB1 #B12F34 #75B12F #2FB1AC
split-complementary
#6B2FB1 #B1AC2F #34B12F
monochromatic
#311550 #4E2281 #6B2FB1 #8A4DD0 #AA7EDD

Accessibility & contrast

On white

7.88
#6B2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2FB1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2FB1#FFFFFF#000000##FFFFFF
##6B2FB11.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#5B506D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2fb1;
/* rgb */ color: rgb(107, 47, 177);
/* oklch */ color: oklch(46.0% 0.193 299.7);
Tailwind
colors: {
  custom: {
    50: '#9c6dc9',
    500: '#6b2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #6b2fb1;
$custom-light: #9c6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2fb1",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 267.692,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.19302,
    "h": 299.7
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#6B2FB1
secondary
#A1C576
accent
#E1479A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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