#6B115E#6B115E

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

Color values

HEX#6B115E
RGBrgb(107, 17, 94)
HSLhsl(309, 73%, 24%)
HSVhsv(309, 84%, 42%)
CMYKcmyk(0%, 84.1%, 12.1%, 58%)
CIE-LABlab(24.75, 46.04, -22.85)
CIE-LCHlch(24.75, 51.40, 333.60°)
OKLaboklab(37.11% 0.1345 -0.0625)
OKLCHoklch(37.11% 0.148 335.1)
XYZxyz(8.2843, 4.3356, 10.9881)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B115E #116B1E
analogous
#4B116B #6B115E #6B1131
triadic
#6B115E #5E6B11 #115E6B
tetradic
#6B115E #6B4B11 #116B1E #11316B
square
#6B115E #6B4B11 #116B1E #11316B
split-complementary
#6B115E #316B11 #116B4B
monochromatic
#1A0417 #360930 #6B115E #A0198C #D522BB

Accessibility & contrast

On white

11.25
#6B115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#6B115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B115E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B115E#FFFFFF#000000##FFFFFF
##6B115E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103260
Deuteranopia (green-blind)
#333F5C
Tritanopia (blue-blind)
#711A37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6b115e;
/* rgb */ color: rgb(107, 17, 94);
/* oklch */ color: oklch(37.1% 0.148 335.1);
Tailwind
colors: {
  custom: {
    50: '#995c8c',
    500: '#6b115e',
    950: '#000000',
  },
}
SCSS
$custom: #6b115e;
$custom-light: #995c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b115e",
  "rgb": {
    "r": 107,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 308.667,
    "s": 72.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.14837,
    "h": 335.1
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#6B115E
secondary
#35A345
accent
#EF5339
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B115E

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

Preview Lab → · Contrast checker → · Palette generator →

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