#6B1E90#6B1E90

#6B1E90 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.178 H 311.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#6B1E90
RGBrgb(107, 30, 144)
HSLhsl(281, 66%, 34%)
HSVhsv(281, 79%, 56%)
CMYKcmyk(25.7%, 79.2%, 0%, 43.5%)
CIE-LABlab(29.58, 51.25, -46.97)
CIE-LCHlch(29.58, 69.52, 317.50°)
OKLaboklab(41.6% 0.1185 -0.133)
OKLCHoklch(41.6% 0.178 311.7)
XYZxyz(11.5608, 6.0683, 26.9424)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1E90 #43901E
analogous
#321E90 #6B1E90 #901E7C
triadic
#6B1E90 #906B1E #1E906B
tetradic
#6B1E90 #90321E #43901E #1E7C90
square
#6B1E90 #90321E #43901E #1E7C90
split-complementary
#6B1E90 #7C901E #1E9032
monochromatic
#20092B #45135D #6B1E90 #9129C3 #AD4EDA

Accessibility & contrast

On white

9.49
#6B1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6B1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1E90
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1E90#FFFFFF#000000##FFFFFF
##6B1E901.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#05478E
Tritanopia (blue-blind)
#663A57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1e90;
/* rgb */ color: rgb(107, 30, 144);
/* oklch */ color: oklch(41.6% 0.178 311.7);
Tailwind
colors: {
  custom: {
    50: '#9a63b1',
    500: '#6b1e90',
    950: '#000000',
  },
}
SCSS
$custom: #6b1e90;
$custom-light: #9a63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1e90",
  "rgb": {
    "r": 107,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 280.526,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.17817,
    "h": 311.7
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#6B1E90
secondary
#71BD4D
accent
#E83F76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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