#6A115C#6A115C

#6A115C is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.146 H 335.7°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#6A115C
RGBrgb(106, 17, 92)
HSLhsl(309, 72%, 24%)
HSVhsv(309, 84%, 42%)
CMYKcmyk(0%, 84%, 13.2%, 58.4%)
CIE-LABlab(24.44, 45.49, -22.03)
CIE-LCHlch(24.44, 50.54, 334.16°)
OKLaboklab(36.82% 0.1334 -0.0602)
OKLCHoklch(36.82% 0.146 335.7)
XYZxyz(8.0762, 4.2385, 10.5159)
Luminance0.0424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A115C #116A1F
analogous
#4C116A #6A115C #6A1130
triadic
#6A115C #5C6A11 #115C6A
tetradic
#6A115C #6A4C11 #116A1F #11306A
square
#6A115C #6A4C11 #116A1F #11306A
split-complementary
#6A115C #306A11 #116A4C
monochromatic
#1A0417 #35092E #6A115C #9F198A #D322B8

Accessibility & contrast

On white

11.37
#6A115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#6A115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A115C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A115C#FFFFFF#000000##FFFFFF
##6A115C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325E
Deuteranopia (green-blind)
#333F5A
Tritanopia (blue-blind)
#701936
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a115c;
/* rgb */ color: rgb(106, 17, 92);
/* oklch */ color: oklch(36.8% 0.146 335.7);
Tailwind
colors: {
  custom: {
    50: '#985c8a',
    500: '#6a115c',
    950: '#000000',
  },
}
SCSS
$custom: #6a115c;
$custom-light: #985c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a115c",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 309.438,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36815,
    "c": 0.14632,
    "h": 335.7
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#6A115C
secondary
#35A246
accent
#EF5539
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #6A115C

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

Preview Lab → · Contrast checker → · Palette generator →

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