#6B2FAC#6B2FAC

#6B2FAC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.188 H 301.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6B2FAC
RGBrgb(107, 47, 172)
HSLhsl(269, 57%, 43%)
HSVhsv(269, 73%, 67%)
CMYKcmyk(37.8%, 72.7%, 0%, 32.5%)
CIE-LABlab(34.27, 50.65, -56.37)
CIE-LCHlch(34.27, 75.78, 311.94°)
OKLaboklab(45.59% 0.0968 -0.1608)
OKLCHoklch(45.59% 0.188 301)
XYZxyz(14.5245, 8.1373, 39.8272)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2FAC #70AC2F
analogous
#2F31AC #6B2FAC #A92FAC
triadic
#6B2FAC #AC6B2F #2FAC6B
tetradic
#6B2FAC #AC2F31 #70AC2F #2FACA9
square
#6B2FAC #AC2F31 #70AC2F #2FACA9
split-complementary
#6B2FAC #ACA92F #31AC2F
monochromatic
#2F154C #4D227C #6B2FAC #894BCE #A97BDB

Accessibility & contrast

On white

7.99
#6B2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6B2FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2FAC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2FAC#FFFFFF#000000##FFFFFF
##6B2FAC1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#5D4E6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b2fac;
/* rgb */ color: rgb(107, 47, 172);
/* oklch */ color: oklch(45.6% 0.188 301.0);
Tailwind
colors: {
  custom: {
    50: '#9b6dc6',
    500: '#6b2fac',
    950: '#000000',
  },
}
SCSS
$custom: #6b2fac;
$custom-light: #9b6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2fac",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 268.8,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.18763,
    "h": 301
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#6B2FAC
secondary
#9DC374
accent
#E04797
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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