#6A145D#6A145D

#6A145D is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.1% C 0.144 H 335.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#6A145D
RGBrgb(106, 20, 93)
HSLhsl(309, 68%, 25%)
HSVhsv(309, 81%, 42%)
CMYKcmyk(0%, 81.1%, 12.3%, 58.4%)
CIE-LABlab(24.81, 44.74, -22.11)
CIE-LCHlch(24.81, 49.91, 333.70°)
OKLaboklab(37.1% 0.1308 -0.0605)
OKLCHoklch(37.1% 0.144 335.2)
XYZxyz(8.1699, 4.3555, 10.7642)
Luminance0.0435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A145D #146A21
analogous
#4C146A #6A145D #6A1432
triadic
#6A145D #5D6A14 #145D6A
tetradic
#6A145D #6A4C14 #146A21 #14326A
square
#6A145D #6A4C14 #146A21 #14326A
split-complementary
#6A145D #326A14 #146A4C
monochromatic
#1A0517 #370A30 #6A145D #9D1E8A #D127B7

Accessibility & contrast

On white

11.22
#6A145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A145D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A145D#FFFFFF#000000##FFFFFF
##6A145D1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14335F
Deuteranopia (green-blind)
#343F5B
Tritanopia (blue-blind)
#701C37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a145d;
/* rgb */ color: rgb(106, 20, 93);
/* oklch */ color: oklch(37.1% 0.144 335.2);
Tailwind
colors: {
  custom: {
    50: '#985d8b',
    500: '#6a145d',
    950: '#000000',
  },
}
SCSS
$custom: #6a145d;
$custom-light: #985d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a145d",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 309.07,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37098,
    "c": 0.14405,
    "h": 335.2
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#6A145D
secondary
#39A149
accent
#EB573D
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A145D

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

Preview Lab → · Contrast checker → · Palette generator →

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