#6A136E#6A136E

#6A136E is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.159 H 326.1°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#6A136E
RGBrgb(106, 19, 110)
HSLhsl(297, 71%, 25%)
HSVhsv(297, 83%, 43%)
CMYKcmyk(3.6%, 82.7%, 0%, 56.9%)
CIE-LABlab(25.73, 47.94, -31.74)
CIE-LCHlch(25.73, 57.49, 326.49°)
OKLaboklab(38.08% 0.1316 -0.0883)
OKLCHoklch(38.08% 0.159 326.1)
XYZxyz(8.9910, 4.6563, 15.1740)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A136E #176E13
analogous
#3D136E #6A136E #6E1344
triadic
#6A136E #6E6A13 #136E6A
tetradic
#6A136E #6E3D13 #176E13 #13446E
square
#6A136E #6E3D13 #176E13 #13446E
split-complementary
#6A136E #446E13 #136E3D
monochromatic
#19051A #380A3A #6A136E #9C1CA2 #CF25D6

Accessibility & contrast

On white

10.87
#6A136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6A136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A136E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A136E#FFFFFF#000000##FFFFFF
##6A136E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#2A416C
Tritanopia (blue-blind)
#6D2441
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a136e;
/* rgb */ color: rgb(106, 19, 110);
/* oklch */ color: oklch(38.1% 0.159 326.1);
Tailwind
colors: {
  custom: {
    50: '#985d98',
    500: '#6a136e',
    950: '#000000',
  },
}
SCSS
$custom: #6a136e;
$custom-light: #985d98;
$custom-dark: #000000;
JSON
{
  "hex": "#6a136e",
  "rgb": {
    "r": 106,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 297.363,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38083,
    "c": 0.15854,
    "h": 326.1
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#6A136E
secondary
#3DA538
accent
#ED3A42
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A136E

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

Preview Lab → · Contrast checker → · Palette generator →

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