#6A146E#6A146E

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

Color values

HEX#6A146E
RGBrgb(106, 20, 110)
HSLhsl(297, 69%, 25%)
HSVhsv(297, 82%, 43%)
CMYKcmyk(3.6%, 81.8%, 0%, 56.9%)
CIE-LABlab(25.84, 47.64, -31.57)
CIE-LCHlch(25.84, 57.16, 326.47°)
OKLaboklab(38.16% 0.1308 -0.0879)
OKLCHoklch(38.16% 0.158 326.1)
XYZxyz(9.0083, 4.6909, 15.1798)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A146E #186E14
analogous
#3D146E #6A146E #6E1445
triadic
#6A146E #6E6A14 #146E6A
tetradic
#6A146E #6E3D14 #186E14 #14456E
square
#6A146E #6E3D14 #186E14 #14456E
split-complementary
#6A146E #456E14 #146E3D
monochromatic
#19051A #380B3A #6A146E #9C1DA2 #CE27D6

Accessibility & contrast

On white

10.84
#6A146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6A146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A146E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A146E#FFFFFF#000000##FFFFFF
##6A146E1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a146e;
/* rgb */ color: rgb(106, 20, 110);
/* oklch */ color: oklch(38.2% 0.158 326.1);
Tailwind
colors: {
  custom: {
    50: '#985e98',
    500: '#6a146e',
    950: '#000000',
  },
}
SCSS
$custom: #6a146e;
$custom-light: #985e98;
$custom-dark: #000000;
JSON
{
  "hex": "#6a146e",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 297.333,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.15759,
    "h": 326.1
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#6A146E
secondary
#3EA539
accent
#EC3C44
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A146E

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

Preview Lab → · Contrast checker → · Palette generator →

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