#6B1EB4#6B1EB4

#6B1EB4 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.6% C 0.213 H 300.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6B1EB4
RGBrgb(107, 30, 180)
HSLhsl(271, 71%, 41%)
HSVhsv(271, 83%, 71%)
CMYKcmyk(40.6%, 83.3%, 0%, 29.4%)
CIE-LABlab(32.59, 59.34, -63.88)
CIE-LCHlch(32.59, 87.19, 312.89°)
OKLaboklab(44.63% 0.1086 -0.1827)
OKLCHoklch(44.63% 0.213 300.7)
XYZxyz(14.7638, 7.3495, 43.8119)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1EB4 #67B41E
analogous
#201EB4 #6B1EB4 #B41EB2
triadic
#6B1EB4 #B46B1E #1EB46B
tetradic
#6B1EB4 #B4201E #67B41E #1EB2B4
square
#6B1EB4 #B4201E #67B41E #1EB2B4
split-complementary
#6B1EB4 #B2B41E #1EB420
monochromatic
#2D0D4B #4C1580 #6B1EB4 #8A32DD #A867E6

Accessibility & contrast

On white

8.50
#6B1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6B1EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1EB4
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1EB4#FFFFFF#000000##FFFFFF
##6B1EB41.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#5A4A6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b1eb4;
/* rgb */ color: rgb(107, 30, 180);
/* oklch */ color: oklch(44.6% 0.213 300.7);
Tailwind
colors: {
  custom: {
    50: '#9d65cc',
    500: '#6b1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #6b1eb4;
$custom-light: #9d65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1eb4",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 270.8,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.21251,
    "h": 300.7
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#6B1EB4
secondary
#96CB63
accent
#EE3A91
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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