#6A145C#6A145C

#6A145C is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.143 H 335.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#6A145C
RGBrgb(106, 20, 92)
HSLhsl(310, 68%, 25%)
HSVhsv(310, 81%, 42%)
CMYKcmyk(0%, 81.1%, 13.2%, 58.4%)
CIE-LABlab(24.76, 44.58, -21.54)
CIE-LCHlch(24.76, 49.51, 334.22°)
OKLaboklab(37.04% 0.1307 -0.0588)
OKLCHoklch(37.04% 0.143 335.8)
XYZxyz(8.1259, 4.3379, 10.5325)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A145C #146A22
analogous
#4D146A #6A145C #6A1431
triadic
#6A145C #5C6A14 #145C6A
tetradic
#6A145C #6A4D14 #146A22 #14316A
square
#6A145C #6A4D14 #146A22 #14316A
split-complementary
#6A145C #316A14 #146A4D
monochromatic
#1A0516 #370A2F #6A145C #9D1E89 #D127B5

Accessibility & contrast

On white

11.25
#6A145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A145C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A145C#FFFFFF#000000##FFFFFF
##6A145C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335E
Deuteranopia (green-blind)
#343F5A
Tritanopia (blue-blind)
#701B37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a145c;
/* rgb */ color: rgb(106, 20, 92);
/* oklch */ color: oklch(37.0% 0.143 335.8);
Tailwind
colors: {
  custom: {
    50: '#985d8a',
    500: '#6a145c',
    950: '#000000',
  },
}
SCSS
$custom: #6a145c;
$custom-light: #985d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a145c",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 309.767,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.1433,
    "h": 335.8
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#6A145C
secondary
#39A14A
accent
#EB593D
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A145C

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

Preview Lab → · Contrast checker → · Palette generator →

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