#6F1790#6F1790

#6F1790 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.186 H 314.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6F1790
RGBrgb(111, 23, 144)
HSLhsl(284, 72%, 33%)
HSVhsv(284, 84%, 56%)
CMYKcmyk(22.9%, 84%, 0%, 43.5%)
CIE-LABlab(29.43, 54.29, -47.19)
CIE-LCHlch(29.43, 71.93, 319.00°)
OKLaboklab(41.62% 0.1295 -0.1335)
OKLCHoklch(41.62% 0.186 314.1)
XYZxyz(11.8951, 6.0063, 26.9129)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1790 #389017
analogous
#321790 #6F1790 #901775
triadic
#6F1790 #906F17 #17906F
tetradic
#6F1790 #903217 #389017 #177590
square
#6F1790 #903217 #389017 #177590
split-complementary
#6F1790 #759017 #179032
monochromatic
#1E0626 #460F5B #6F1790 #981FC5 #B541E1

Accessibility & contrast

On white

9.54
#6F1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6F1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1790
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1790#FFFFFF#000000##FFFFFF
##6F17901.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#07478E
Tritanopia (blue-blind)
#6C3655
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f1790;
/* rgb */ color: rgb(111, 23, 144);
/* oklch */ color: oklch(41.6% 0.186 314.1);
Tailwind
colors: {
  custom: {
    50: '#9d61b1',
    500: '#6f1790',
    950: '#000000',
  },
}
SCSS
$custom: #6f1790;
$custom-light: #9d61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1790",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 283.636,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.18601,
    "h": 314.1
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#6F1790
secondary
#64C142
accent
#EF396A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1790

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

Preview Lab → · Contrast checker → · Palette generator →

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