#6B1EA7#6B1EA7

#6B1EA7 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.200 H 304.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6B1EA7
RGBrgb(107, 30, 167)
HSLhsl(274, 70%, 39%)
HSVhsv(274, 82%, 65%)
CMYKcmyk(35.9%, 82%, 0%, 34.5%)
CIE-LABlab(31.45, 56.36, -57.96)
CIE-LCHlch(31.45, 80.84, 314.20°)
OKLaboklab(43.49% 0.1127 -0.1653)
OKLCHoklch(43.49% 0.2 304.3)
XYZxyz(13.5011, 6.8444, 37.1616)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1EA7 #5AA71E
analogous
#271EA7 #6B1EA7 #A71E9E
triadic
#6B1EA7 #A76B1E #1EA76B
tetradic
#6B1EA7 #A7271E #5AA71E #1E9EA7
square
#6B1EA7 #A7271E #5AA71E #1E9EA7
split-complementary
#6B1EA7 #9EA71E #1EA727
monochromatic
#290B3F #4A1573 #6B1EA7 #8C2AD9 #A85DE2

Accessibility & contrast

On white

8.87
#6B1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6B1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1EA7
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1EA7#FFFFFF#000000##FFFFFF
##6B1EA71.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#5F4464
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b1ea7;
/* rgb */ color: rgb(107, 30, 167);
/* oklch */ color: oklch(43.5% 0.200 304.3);
Tailwind
colors: {
  custom: {
    50: '#9b65c2',
    500: '#6b1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ea7;
$custom-light: #9b65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ea7",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 273.723,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43489,
    "c": 0.20006,
    "h": 304.3
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#6B1EA7
secondary
#8AC65B
accent
#EC3B89
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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