#6B1EA0#6B1EA0

#6B1EA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.193 H 306.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6B1EA0
RGBrgb(107, 30, 160)
HSLhsl(276, 68%, 37%)
HSVhsv(276, 81%, 63%)
CMYKcmyk(33.1%, 81.3%, 0%, 37.3%)
CIE-LABlab(30.86, 54.78, -54.69)
CIE-LCHlch(30.86, 77.40, 315.05°)
OKLaboklab(42.9% 0.1147 -0.1557)
OKLCHoklch(42.9% 0.193 306.4)
XYZxyz(12.8714, 6.5925, 33.8453)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1EA0 #53A01E
analogous
#2A1EA0 #6B1EA0 #A01E94
triadic
#6B1EA0 #A06B1E #1EA06B
tetradic
#6B1EA0 #A02A1E #53A01E #1E94A0
square
#6B1EA0 #A02A1E #53A01E #1E94A0
split-complementary
#6B1EA0 #94A01E #1EA02A
monochromatic
#260B39 #49146C #6B1EA0 #8D28D4 #A959E0

Accessibility & contrast

On white

9.06
#6B1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6B1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1EA0
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1EA0#FFFFFF#000000##FFFFFF
##6B1EA01.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#614160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b1ea0;
/* rgb */ color: rgb(107, 30, 160);
/* oklch */ color: oklch(42.9% 0.193 306.4);
Tailwind
colors: {
  custom: {
    50: '#9b64bd',
    500: '#6b1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ea0;
$custom-light: #9b64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ea0",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 275.538,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.19338,
    "h": 306.4
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#6B1EA0
secondary
#83C456
accent
#EB3D84
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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