#6A135E#6A135E

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

Color values

HEX#6A135E
RGBrgb(106, 19, 94)
HSLhsl(308, 70%, 25%)
HSVhsv(308, 82%, 42%)
CMYKcmyk(0%, 82.1%, 11.3%, 58.4%)
CIE-LABlab(24.76, 45.21, -22.85)
CIE-LCHlch(24.76, 50.66, 333.19°)
OKLaboklab(37.08% 0.1317 -0.0626)
OKLCHoklch(37.08% 0.146 334.6)
XYZxyz(8.1972, 4.3388, 10.9933)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A135E #136A1F
analogous
#4B136A #6A135E #6A1333
triadic
#6A135E #5E6A13 #135E6A
tetradic
#6A135E #6A4B13 #136A1F #13336A
square
#6A135E #6A4B13 #136A1F #13336A
split-complementary
#6A135E #336A13 #136A4B
monochromatic
#1A0517 #360A30 #6A135E #9E1C8C #D226BA

Accessibility & contrast

On white

11.24
#6A135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A135E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A135E#FFFFFF#000000##FFFFFF
##6A135E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123360
Deuteranopia (green-blind)
#333F5C
Tritanopia (blue-blind)
#6F1B38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a135e;
/* rgb */ color: rgb(106, 19, 94);
/* oklch */ color: oklch(37.1% 0.146 334.6);
Tailwind
colors: {
  custom: {
    50: '#985c8c',
    500: '#6a135e',
    950: '#000000',
  },
}
SCSS
$custom: #6a135e;
$custom-light: #985c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a135e",
  "rgb": {
    "r": 106,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 308.276,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.14585,
    "h": 334.6
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#6A135E
secondary
#38A146
accent
#EC543B
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A135E

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

Preview Lab → · Contrast checker → · Palette generator →

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