#6A145E#6A145E

#6A145E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.145 H 334.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#6A145E
RGBrgb(106, 20, 94)
HSLhsl(308, 68%, 25%)
HSVhsv(308, 81%, 42%)
CMYKcmyk(0%, 81.1%, 11.3%, 58.4%)
CIE-LABlab(24.87, 44.90, -22.68)
CIE-LCHlch(24.87, 50.31, 333.20°)
OKLaboklab(37.16% 0.1308 -0.0621)
OKLCHoklch(37.16% 0.145 334.6)
XYZxyz(8.2145, 4.3734, 10.9990)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A145E #146A20
analogous
#4B146A #6A145E #6A1433
triadic
#6A145E #5E6A14 #145E6A
tetradic
#6A145E #6A4B14 #146A20 #14336A
square
#6A145E #6A4B14 #146A20 #14336A
split-complementary
#6A145E #336A14 #146A4B
monochromatic
#1A0517 #370A30 #6A145E #9D1E8C #D127B9

Accessibility & contrast

On white

11.20
#6A145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A145E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A145E#FFFFFF#000000##FFFFFF
##6A145E1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#333F5C
Tritanopia (blue-blind)
#6F1C38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a145e;
/* rgb */ color: rgb(106, 20, 94);
/* oklch */ color: oklch(37.2% 0.145 334.6);
Tailwind
colors: {
  custom: {
    50: '#985d8c',
    500: '#6a145e',
    950: '#000000',
  },
}
SCSS
$custom: #6a145e;
$custom-light: #985d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a145e",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 308.372,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37156,
    "c": 0.14481,
    "h": 334.6
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#6A145E
secondary
#39A147
accent
#EB553D
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A145E

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

Preview Lab → · Contrast checker → · Palette generator →

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