#6E1783#6E1783

#6E1783 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.174 H 318.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#6E1783
RGBrgb(110, 23, 131)
HSLhsl(288, 70%, 30%)
HSVhsv(288, 82%, 51%)
CMYKcmyk(16%, 82.4%, 0%, 48.6%)
CIE-LABlab(28.29, 51.51, -40.94)
CIE-LCHlch(28.29, 65.80, 321.52°)
OKLaboklab(40.49% 0.1308 -0.1152)
OKLCHoklch(40.49% 0.174 318.6)
XYZxyz(10.8330, 5.5670, 21.9723)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1783 #2C8317
analogous
#381783 #6E1783 #831762
triadic
#6E1783 #836E17 #17836E
tetradic
#6E1783 #833817 #2C8317 #176283
square
#6E1783 #833817 #2C8317 #176283
split-complementary
#6E1783 #628317 #178338
monochromatic
#17051B #420E4F #6E1783 #9A20B7 #BC38DC

Accessibility & contrast

On white

9.94
#6E1783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E1783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1783
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1783#FFFFFF#000000##FFFFFF
##6E17831.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#1E4581
Tritanopia (blue-blind)
#6E304E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1783;
/* rgb */ color: rgb(110, 23, 131);
/* oklch */ color: oklch(40.5% 0.174 318.6);
Tailwind
colors: {
  custom: {
    50: '#9b60a8',
    500: '#6e1783',
    950: '#000000',
  },
}
SCSS
$custom: #6e1783;
$custom-light: #9b60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1783",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 288.333,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.1743,
    "h": 318.6
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#6E1783
secondary
#56B73F
accent
#ED3B5E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E1783

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

Preview Lab → · Contrast checker → · Palette generator →

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