#6A146C#6A146C

#6A146C is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.156 H 327.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#6A146C
RGBrgb(106, 20, 108)
HSLhsl(299, 69%, 25%)
HSVhsv(299, 81%, 42%)
CMYKcmyk(1.9%, 81.5%, 0%, 57.6%)
CIE-LABlab(25.71, 47.28, -30.49)
CIE-LCHlch(25.71, 56.26, 327.19°)
OKLaboklab(38.02% 0.1309 -0.0847)
OKLCHoklch(38.02% 0.156 327.1)
XYZxyz(8.9006, 4.6478, 14.6128)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A146C #166C14
analogous
#3E146C #6A146C #6C1442
triadic
#6A146C #6C6A14 #146C6A
tetradic
#6A146C #6C3E14 #166C14 #14426C
square
#6A146C #6C3E14 #166C14 #14426C
split-complementary
#6A146C #426C14 #146C3E
monochromatic
#19051A #370A38 #6A146C #9D1EA0 #CF27D3

Accessibility & contrast

On white

10.88
#6A146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A146C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A146C#FFFFFF#000000##FFFFFF
##6A146C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#2C416A
Tritanopia (blue-blind)
#6D2440
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a146c;
/* rgb */ color: rgb(106, 20, 108);
/* oklch */ color: oklch(38.0% 0.156 327.1);
Tailwind
colors: {
  custom: {
    50: '#985d96',
    500: '#6a146c',
    950: '#000000',
  },
}
SCSS
$custom: #6a146c;
$custom-light: #985d96;
$custom-dark: #000000;
JSON
{
  "hex": "#6a146c",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 298.636,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.15594,
    "h": 327.1
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#6A146C
secondary
#3BA339
accent
#EC3C40
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A146C

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

Preview Lab → · Contrast checker → · Palette generator →

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