#6A115F#6A115F

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

Color values

HEX#6A115F
RGBrgb(106, 17, 95)
HSLhsl(307, 72%, 24%)
HSVhsv(307, 84%, 42%)
CMYKcmyk(0%, 84%, 10.4%, 58.4%)
CIE-LABlab(24.61, 45.96, -23.74)
CIE-LCHlch(24.61, 51.73, 332.68°)
OKLaboklab(36.99% 0.1335 -0.0651)
OKLCHoklch(36.99% 0.149 334)
XYZxyz(8.2099, 4.2920, 11.2203)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A115F #116A1C
analogous
#49116A #6A115F #6A1133
triadic
#6A115F #5F6A11 #115F6A
tetradic
#6A115F #6A4911 #116A1C #11336A
square
#6A115F #6A4911 #116A1C #11336A
split-complementary
#6A115F #336A11 #116A49
monochromatic
#1A0418 #350930 #6A115F #9F198E #D322BE

Accessibility & contrast

On white

11.30
#6A115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6A115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A115F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A115F#FFFFFF#000000##FFFFFF
##6A115F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3261
Deuteranopia (green-blind)
#323F5D
Tritanopia (blue-blind)
#6F1B38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a115f;
/* rgb */ color: rgb(106, 17, 95);
/* oklch */ color: oklch(37.0% 0.149 334.0);
Tailwind
colors: {
  custom: {
    50: '#985c8c',
    500: '#6a115f',
    950: '#000000',
  },
}
SCSS
$custom: #6a115f;
$custom-light: #985c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a115f",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 307.416,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36991,
    "c": 0.14856,
    "h": 334
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#6A115F
secondary
#35A242
accent
#EF4F39
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #6A115F

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

Preview Lab → · Contrast checker → · Palette generator →

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