#6F1E7B#6F1E7B

#6F1E7B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.160 H 322.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#6F1E7B
RGBrgb(111, 30, 123)
HSLhsl(292, 61%, 30%)
HSVhsv(292, 76%, 48%)
CMYKcmyk(9.8%, 75.6%, 0%, 51.8%)
CIE-LABlab(28.74, 47.77, -35.17)
CIE-LCHlch(28.74, 59.32, 323.64°)
OKLaboklab(40.67% 0.1267 -0.0983)
OKLCHoklch(40.67% 0.16 322.2)
XYZxyz(10.5946, 5.7387, 19.2847)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1E7B #2A7B1E
analogous
#401E7B #6F1E7B #7B1E59
triadic
#6F1E7B #7B6F1E #1E7B6F
tetradic
#6F1E7B #7B401E #2A7B1E #1E597B
square
#6F1E7B #7B401E #2A7B1E #1E597B
split-complementary
#6F1E7B #597B1E #1E7B40
monochromatic
#160619 #43124A #6F1E7B #9B2AAC #BF42D1

Accessibility & contrast

On white

9.78
#6F1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6F1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1E7B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1E7B#FFFFFF#000000##FFFFFF
##6F1E7B1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#2B4779
Tritanopia (blue-blind)
#702F4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1e7b;
/* rgb */ color: rgb(111, 30, 123);
/* oklch */ color: oklch(40.7% 0.160 322.2);
Tailwind
colors: {
  custom: {
    50: '#9c63a2',
    500: '#6f1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #6f1e7b;
$custom-light: #9c63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1e7b",
  "rgb": {
    "r": 111,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 292.258,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.16033,
    "h": 322.2
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#6F1E7B
secondary
#54AE46
accent
#E44459
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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