#6B0FB2#6B0FB2

#6B0FB2 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.5% C 0.220 H 302.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#6B0FB2
RGBrgb(107, 15, 178)
HSLhsl(274, 84%, 38%)
HSVhsv(274, 92%, 70%)
CMYKcmyk(39.9%, 91.6%, 0%, 30.2%)
CIE-LABlab(31.07, 62.84, -65.18)
CIE-LCHlch(31.07, 90.54, 313.95°)
OKLaboklab(43.53% 0.1172 -0.1864)
OKLCHoklch(43.53% 0.22 302.2)
XYZxyz(14.2681, 6.6817, 42.6489)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B0FB2 #56B20F
analogous
#190FB2 #6B0FB2 #B20FA7
triadic
#6B0FB2 #B26B0F #0FB26B
tetradic
#6B0FB2 #B2190F #56B20F #0FA7B2
square
#6B0FB2 #B2190F #56B20F #0FA7B2
split-complementary
#6B0FB2 #A7B20F #0FB219
monochromatic
#270541 #490A7A #6B0FB2 #8D14EA #A84CF0

Accessibility & contrast

On white

8.99
#6B0FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6B0FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B0FB2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B0FB2#FFFFFF#000000##FFFFFF
##6B0FB21.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#5B4468
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b0fb2;
/* rgb */ color: rgb(107, 15, 178);
/* oklch */ color: oklch(43.5% 0.220 302.2);
Tailwind
colors: {
  custom: {
    50: '#9d61ca',
    500: '#6b0fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6b0fb2;
$custom-light: #9d61ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b0fb2",
  "rgb": {
    "r": 107,
    "g": 15,
    "b": 178
  },
  "hsl": {
    "h": 273.865,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43531,
    "c": 0.22016,
    "h": 302.2
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#6B0FB2
secondary
#86D14C
accent
#FB2D87
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B0FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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