#6F1783#6F1783

#6F1783 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.175 H 319.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#6F1783
RGBrgb(111, 23, 131)
HSLhsl(289, 70%, 30%)
HSVhsv(289, 82%, 51%)
CMYKcmyk(15.3%, 82.4%, 0%, 48.6%)
CIE-LABlab(28.46, 51.70, -40.66)
CIE-LCHlch(28.46, 65.77, 321.82°)
OKLaboklab(40.64% 0.1321 -0.1143)
OKLCHoklch(40.64% 0.175 319.1)
XYZxyz(10.9581, 5.6315, 21.9781)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1783 #2B8317
analogous
#391783 #6F1783 #831761
triadic
#6F1783 #836F17 #17836F
tetradic
#6F1783 #833917 #2B8317 #176183
square
#6F1783 #833917 #2B8317 #176183
split-complementary
#6F1783 #618317 #178339
monochromatic
#17051B #430E4F #6F1783 #9B20B7 #BE38DC

Accessibility & contrast

On white

9.88
#6F1783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6F1783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1783
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1783#FFFFFF#000000##FFFFFF
##6F17831.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#1F4681
Tritanopia (blue-blind)
#6F304E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f1783;
/* rgb */ color: rgb(111, 23, 131);
/* oklch */ color: oklch(40.6% 0.175 319.1);
Tailwind
colors: {
  custom: {
    50: '#9c61a8',
    500: '#6f1783',
    950: '#000000',
  },
}
SCSS
$custom: #6f1783;
$custom-light: #9c61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1783",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 288.889,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.17468,
    "h": 319.1
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#6F1783
secondary
#55B73F
accent
#ED3B5C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6F1783

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

Preview Lab → · Contrast checker → · Palette generator →

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