#6A118F#6A118F

#6A118F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.4% C 0.188 H 312.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#6A118F
RGBrgb(106, 17, 143)
HSLhsl(282, 79%, 31%)
HSVhsv(282, 88%, 56%)
CMYKcmyk(25.9%, 88.1%, 0%, 43.9%)
CIE-LABlab(27.98, 54.85, -48.97)
CIE-LCHlch(27.98, 73.53, 318.25°)
OKLaboklab(40.42% 0.127 -0.1388)
OKLCHoklch(40.42% 0.188 312.4)
XYZxyz(11.1013, 5.4486, 26.4482)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A118F #368F11
analogous
#2B118F #6A118F #8F1175
triadic
#6A118F #8F6A11 #118F6A
tetradic
#6A118F #8F2B11 #368F11 #11758F
square
#6A118F #8F2B11 #368F11 #11758F
split-complementary
#6A118F #758F11 #118F2B
monochromatic
#190422 #410A58 #6A118F #9318C6 #B234E7

Accessibility & contrast

On white

10.05
#6A118F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6A118F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A118F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A118F#FFFFFF#000000##FFFFFF
##6A118F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#653454
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a118f;
/* rgb */ color: rgb(106, 17, 143);
/* oklch */ color: oklch(40.4% 0.188 312.4);
Tailwind
colors: {
  custom: {
    50: '#995eb1',
    500: '#6a118f',
    950: '#000000',
  },
}
SCSS
$custom: #6a118f;
$custom-light: #995eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a118f",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 143
  },
  "hsl": {
    "h": 282.381,
    "s": 78.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.18816,
    "h": 312.4
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#6A118F
secondary
#61C338
accent
#F5336C
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0F0511
muted
#7E7980

Preview Lab

Preview with #6A118F

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

Preview Lab → · Contrast checker → · Palette generator →

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