#6B1EB3#6B1EB3

#6B1EB3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.212 H 301.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6B1EB3
RGBrgb(107, 30, 179)
HSLhsl(271, 71%, 41%)
HSVhsv(271, 83%, 70%)
CMYKcmyk(40.2%, 83.2%, 0%, 29.8%)
CIE-LABlab(32.50, 59.11, -63.43)
CIE-LCHlch(32.50, 86.70, 312.98°)
OKLaboklab(44.54% 0.1089 -0.1814)
OKLCHoklch(44.54% 0.212 301)
XYZxyz(14.6623, 7.3089, 43.2774)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1EB3 #66B31E
analogous
#211EB3 #6B1EB3 #B31EB0
triadic
#6B1EB3 #B36B1E #1EB36B
tetradic
#6B1EB3 #B3211E #66B31E #1EB0B3
square
#6B1EB3 #B3211E #66B31E #1EB0B3
split-complementary
#6B1EB3 #B0B31E #1EB321
monochromatic
#2C0C4A #4C157F #6B1EB3 #8A32DD #A866E5

Accessibility & contrast

On white

8.53
#6B1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6B1EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1EB3
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1EB3#FFFFFF#000000##FFFFFF
##6B1EB31.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#5A496B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b1eb3;
/* rgb */ color: rgb(107, 30, 179);
/* oklch */ color: oklch(44.5% 0.212 301.0);
Tailwind
colors: {
  custom: {
    50: '#9d65cb',
    500: '#6b1eb3',
    950: '#000000',
  },
}
SCSS
$custom: #6b1eb3;
$custom-light: #9d65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1eb3",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 271.007,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.21155,
    "h": 301
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#6B1EB3
secondary
#95CB62
accent
#EE3A91
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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