#6B115D#6B115D

#6B115D is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.148 H 335.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#6B115D
RGBrgb(107, 17, 93)
HSLhsl(309, 73%, 24%)
HSVhsv(309, 84%, 42%)
CMYKcmyk(0%, 84.1%, 13.1%, 58%)
CIE-LABlab(24.70, 45.88, -22.28)
CIE-LCHlch(24.70, 51.00, 334.10°)
OKLaboklab(37.05% 0.1345 -0.0609)
OKLCHoklch(37.05% 0.148 335.6)
XYZxyz(8.2398, 4.3178, 10.7533)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B115D #116B1F
analogous
#4C116B #6B115D #6B1130
triadic
#6B115D #5D6B11 #115D6B
tetradic
#6B115D #6B4C11 #116B1F #11306B
square
#6B115D #6B4C11 #116B1F #11306B
split-complementary
#6B115D #306B11 #116B4C
monochromatic
#1A0417 #36092F #6B115D #A0198B #D522B9

Accessibility & contrast

On white

11.27
#6B115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6B115D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B115D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B115D#FFFFFF#000000##FFFFFF
##6B115D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325F
Deuteranopia (green-blind)
#343F5B
Tritanopia (blue-blind)
#711937
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6b115d;
/* rgb */ color: rgb(107, 17, 93);
/* oklch */ color: oklch(37.0% 0.148 335.6);
Tailwind
colors: {
  custom: {
    50: '#995c8b',
    500: '#6b115d',
    950: '#000000',
  },
}
SCSS
$custom: #6b115d;
$custom-light: #995c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b115d",
  "rgb": {
    "r": 107,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 309.333,
    "s": 72.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37049,
    "c": 0.14763,
    "h": 335.6
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#6B115D
secondary
#35A346
accent
#EF5539
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B115D

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

Preview Lab → · Contrast checker → · Palette generator →

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