#6B155E#6B155E

#6B155E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.4% C 0.144 H 335.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#6B155E
RGBrgb(107, 21, 94)
HSLhsl(309, 67%, 25%)
HSVhsv(309, 80%, 42%)
CMYKcmyk(0%, 80.4%, 12.1%, 58%)
CIE-LABlab(25.17, 44.83, -22.19)
CIE-LCHlch(25.17, 50.02, 333.66°)
OKLaboklab(37.41% 0.131 -0.0607)
OKLCHoklch(37.41% 0.144 335.1)
XYZxyz(8.3521, 4.4710, 11.0106)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B155E #156B22
analogous
#4D156B #6B155E #6B1533
triadic
#6B155E #5E6B15 #155E6B
tetradic
#6B155E #6B4D15 #156B22 #15336B
square
#6B155E #6B4D15 #156B22 #15336B
split-complementary
#6B155E #336B15 #156B4D
monochromatic
#1A0516 #380B31 #6B155E #9E1F8B #D129B8

Accessibility & contrast

On white

11.09
#6B155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6B155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B155E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B155E#FFFFFF#000000##FFFFFF
##6B155E1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#34405C
Tritanopia (blue-blind)
#711D38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6b155e;
/* rgb */ color: rgb(107, 21, 94);
/* oklch */ color: oklch(37.4% 0.144 335.1);
Tailwind
colors: {
  custom: {
    50: '#995d8c',
    500: '#6b155e',
    950: '#000000',
  },
}
SCSS
$custom: #6b155e;
$custom-light: #995d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b155e",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 309.07,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37408,
    "c": 0.14433,
    "h": 335.1
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#6B155E
secondary
#3AA24A
accent
#EA583E
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B155E

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

Preview Lab → · Contrast checker → · Palette generator →

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