#6B1EA8#6B1EA8

#6B1EA8 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.201 H 304.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6B1EA8
RGBrgb(107, 30, 168)
HSLhsl(273, 70%, 39%)
HSVhsv(273, 82%, 66%)
CMYKcmyk(36.3%, 82.1%, 0%, 34.1%)
CIE-LABlab(31.54, 56.59, -58.42)
CIE-LCHlch(31.54, 81.33, 314.09°)
OKLaboklab(43.58% 0.1124 -0.1667)
OKLCHoklch(43.58% 0.201 304)
XYZxyz(13.5939, 6.8815, 37.6503)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1EA8 #5BA81E
analogous
#261EA8 #6B1EA8 #A81EA0
triadic
#6B1EA8 #A86B1E #1EA86B
tetradic
#6B1EA8 #A8261E #5BA81E #1EA0A8
square
#6B1EA8 #A8261E #5BA81E #1EA0A8
split-complementary
#6B1EA8 #A0A81E #1EA826
monochromatic
#290B40 #4A1574 #6B1EA8 #8C2AD9 #A85EE2

Accessibility & contrast

On white

8.84
#6B1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6B1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1EA8
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1EA8#FFFFFF#000000##FFFFFF
##6B1EA81.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#5F4464
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b1ea8;
/* rgb */ color: rgb(107, 30, 168);
/* oklch */ color: oklch(43.6% 0.201 304.0);
Tailwind
colors: {
  custom: {
    50: '#9c65c3',
    500: '#6b1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ea8;
$custom-light: #9c65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ea8",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 273.478,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.20102,
    "h": 304
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#6B1EA8
secondary
#8BC75B
accent
#ED3B8A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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