#6A145F#6A145F

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

Color values

HEX#6A145F
RGBrgb(106, 20, 95)
HSLhsl(308, 68%, 25%)
HSVhsv(308, 81%, 42%)
CMYKcmyk(0%, 81.1%, 10.4%, 58.4%)
CIE-LABlab(24.93, 45.07, -23.25)
CIE-LCHlch(24.93, 50.71, 332.71°)
OKLaboklab(37.21% 0.1309 -0.0637)
OKLCHoklch(37.21% 0.146 334)
XYZxyz(8.2597, 4.3914, 11.2369)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A145F #146A1F
analogous
#4A146A #6A145F #6A1434
triadic
#6A145F #5F6A14 #145F6A
tetradic
#6A145F #6A4A14 #146A1F #14346A
square
#6A145F #6A4A14 #146A1F #14346A
split-complementary
#6A145F #346A14 #146A4A
monochromatic
#1A0517 #370A31 #6A145F #9D1E8D #D127BB

Accessibility & contrast

On white

11.18
#6A145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6A145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A145F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A145F#FFFFFF#000000##FFFFFF
##6A145F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123361
Deuteranopia (green-blind)
#33405D
Tritanopia (blue-blind)
#6F1D39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a145f;
/* rgb */ color: rgb(106, 20, 95);
/* oklch */ color: oklch(37.2% 0.146 334.0);
Tailwind
colors: {
  custom: {
    50: '#985d8c',
    500: '#6a145f',
    950: '#000000',
  },
}
SCSS
$custom: #6a145f;
$custom-light: #985d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a145f",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 307.674,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37214,
    "c": 0.14558,
    "h": 334
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#6A145F
secondary
#39A146
accent
#EB533D
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A145F

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

Preview Lab → · Contrast checker → · Palette generator →

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