#6B1E8A#6B1E8A

#6B1E8A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.173 H 313.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6B1E8A
RGBrgb(107, 30, 138)
HSLhsl(283, 64%, 33%)
HSVhsv(283, 78%, 54%)
CMYKcmyk(22.5%, 78.3%, 0%, 45.9%)
CIE-LABlab(29.13, 49.97, -43.98)
CIE-LCHlch(29.13, 66.57, 318.64°)
OKLaboklab(41.14% 0.1197 -0.1243)
OKLCHoklch(41.14% 0.173 313.9)
XYZxyz(11.1143, 5.8897, 24.5912)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E8A #3D8A1E
analogous
#351E8A #6B1E8A #8A1E73
triadic
#6B1E8A #8A6B1E #1E8A6B
tetradic
#6B1E8A #8A351E #3D8A1E #1E738A
square
#6B1E8A #8A351E #3D8A1E #1E738A
split-complementary
#6B1E8A #738A1E #1E8A35
monochromatic
#1D0825 #441358 #6B1E8A #9229BC #AF4BD8

Accessibility & contrast

On white

9.64
#6B1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6B1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1E8A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E8A#FFFFFF#000000##FFFFFF
##6B1E8A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#144688
Tritanopia (blue-blind)
#683753
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1e8a;
/* rgb */ color: rgb(107, 30, 138);
/* oklch */ color: oklch(41.1% 0.173 313.9);
Tailwind
colors: {
  custom: {
    50: '#9963ad',
    500: '#6b1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e8a;
$custom-light: #9963ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e8a",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 282.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41143,
    "c": 0.17251,
    "h": 313.9
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#6B1E8A
secondary
#6ABA4A
accent
#E74170
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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