#6B155D#6B155D

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

Color values

HEX#6B155D
RGBrgb(107, 21, 93)
HSLhsl(310, 67%, 25%)
HSVhsv(310, 80%, 42%)
CMYKcmyk(0%, 80.4%, 13.1%, 58%)
CIE-LABlab(25.12, 44.67, -21.62)
CIE-LCHlch(25.12, 49.63, 334.17°)
OKLaboklab(37.35% 0.1309 -0.059)
OKLCHoklch(37.35% 0.144 335.7)
XYZxyz(8.3075, 4.4532, 10.7758)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B155D #156B23
analogous
#4E156B #6B155D #6B1532
triadic
#6B155D #5D6B15 #155D6B
tetradic
#6B155D #6B4E15 #156B23 #15326B
square
#6B155D #6B4E15 #156B23 #15326B
split-complementary
#6B155D #326B15 #156B4E
monochromatic
#1A0516 #380B31 #6B155D #9E1F89 #D129B6

Accessibility & contrast

On white

11.11
#6B155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B155D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B155D#FFFFFF#000000##FFFFFF
##6B155D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335F
Deuteranopia (green-blind)
#35405B
Tritanopia (blue-blind)
#711C38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6b155d;
/* rgb */ color: rgb(107, 21, 93);
/* oklch */ color: oklch(37.4% 0.144 335.7);
Tailwind
colors: {
  custom: {
    50: '#995d8b',
    500: '#6b155d',
    950: '#000000',
  },
}
SCSS
$custom: #6b155d;
$custom-light: #995d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b155d",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 309.767,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37351,
    "c": 0.14358,
    "h": 335.7
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#6B155D
secondary
#3AA24B
accent
#EA5A3E
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B155D

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

Preview Lab → · Contrast checker → · Palette generator →

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