#6B135E#6B135E

#6B135E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.146 H 335.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#6B135E
RGBrgb(107, 19, 94)
HSLhsl(309, 70%, 25%)
HSVhsv(309, 82%, 42%)
CMYKcmyk(0%, 82.2%, 12.1%, 58%)
CIE-LABlab(24.95, 45.45, -22.54)
CIE-LCHlch(24.95, 50.73, 333.63°)
OKLaboklab(37.25% 0.1328 -0.0616)
OKLCHoklch(37.25% 0.146 335.1)
XYZxyz(8.3168, 4.4005, 10.9989)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B135E #136B20
analogous
#4C136B #6B135E #6B1332
triadic
#6B135E #5E6B13 #135E6B
tetradic
#6B135E #6B4C13 #136B20 #13326B
square
#6B135E #6B4C13 #136B20 #13326B
split-complementary
#6B135E #326B13 #136B4C
monochromatic
#1A0517 #370A30 #6B135E #9F1C8C #D325B9

Accessibility & contrast

On white

11.17
#6B135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6B135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B135E
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B135E#FFFFFF#000000##FFFFFF
##6B135E1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#34405C
Tritanopia (blue-blind)
#711B38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6b135e;
/* rgb */ color: rgb(107, 19, 94);
/* oklch */ color: oklch(37.3% 0.146 335.1);
Tailwind
colors: {
  custom: {
    50: '#995d8c',
    500: '#6b135e',
    950: '#000000',
  },
}
SCSS
$custom: #6b135e;
$custom-light: #995d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b135e",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 308.864,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37252,
    "c": 0.14642,
    "h": 335.1
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#6B135E
secondary
#38A247
accent
#ED553B
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B135E

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

Preview Lab → · Contrast checker → · Palette generator →

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