#6B1EA1#6B1EA1

#6B1EA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.194 H 306.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6B1EA1
RGBrgb(107, 30, 161)
HSLhsl(275, 69%, 37%)
HSVhsv(275, 81%, 63%)
CMYKcmyk(33.5%, 81.4%, 0%, 36.9%)
CIE-LABlab(30.94, 55.00, -55.16)
CIE-LCHlch(30.94, 77.89, 314.92°)
OKLaboklab(42.98% 0.1144 -0.1571)
OKLCHoklch(42.98% 0.194 306.1)
XYZxyz(12.9593, 6.6277, 34.3079)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1EA1 #54A11E
analogous
#291EA1 #6B1EA1 #A11E96
triadic
#6B1EA1 #A16B1E #1EA16B
tetradic
#6B1EA1 #A1291E #54A11E #1E96A1
square
#6B1EA1 #A1291E #54A11E #1E96A1
split-complementary
#6B1EA1 #96A11E #1EA129
monochromatic
#260B3A #49146D #6B1EA1 #8D28D5 #A959E0

Accessibility & contrast

On white

9.03
#6B1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6B1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1EA1
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1EA1#FFFFFF#000000##FFFFFF
##6B1EA11.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#614160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b1ea1;
/* rgb */ color: rgb(107, 30, 161);
/* oklch */ color: oklch(43.0% 0.194 306.1);
Tailwind
colors: {
  custom: {
    50: '#9b64be',
    500: '#6b1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ea1;
$custom-light: #9b64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ea1",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 275.267,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.19433,
    "h": 306.1
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#6B1EA1
secondary
#84C457
accent
#EB3C85
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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