#6A115E#6A115E

#6A115E is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.148 H 334.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#6A115E
RGBrgb(106, 17, 94)
HSLhsl(308, 72%, 24%)
HSVhsv(308, 84%, 42%)
CMYKcmyk(0%, 84%, 11.3%, 58.4%)
CIE-LABlab(24.56, 45.80, -23.17)
CIE-LCHlch(24.56, 51.33, 333.16°)
OKLaboklab(36.93% 0.1335 -0.0635)
OKLCHoklch(36.93% 0.148 334.6)
XYZxyz(8.1648, 4.2740, 10.9825)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A115E #116A1D
analogous
#4A116A #6A115E #6A1132
triadic
#6A115E #5E6A11 #115E6A
tetradic
#6A115E #6A4A11 #116A1D #11326A
square
#6A115E #6A4A11 #116A1D #11326A
split-complementary
#6A115E #326A11 #116A4A
monochromatic
#1A0417 #35092F #6A115E #9F198D #D322BC

Accessibility & contrast

On white

11.32
#6A115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A115E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A115E#FFFFFF#000000##FFFFFF
##6A115E1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3260
Deuteranopia (green-blind)
#323F5C
Tritanopia (blue-blind)
#701A37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a115e;
/* rgb */ color: rgb(106, 17, 94);
/* oklch */ color: oklch(36.9% 0.148 334.6);
Tailwind
colors: {
  custom: {
    50: '#985c8c',
    500: '#6a115e',
    950: '#000000',
  },
}
SCSS
$custom: #6a115e;
$custom-light: #985c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a115e",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 308.09,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36932,
    "c": 0.14781,
    "h": 334.6
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#6A115E
secondary
#35A244
accent
#EF5139
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #6A115E

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

Preview Lab → · Contrast checker → · Palette generator →

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