#6A138F#6A138F

#6A138F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.5% C 0.187 H 312.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6A138F
RGBrgb(106, 19, 143)
HSLhsl(282, 77%, 32%)
HSVhsv(282, 87%, 56%)
CMYKcmyk(25.9%, 86.7%, 0%, 43.9%)
CIE-LABlab(28.15, 54.34, -48.68)
CIE-LCHlch(28.15, 72.96, 318.14°)
OKLaboklab(40.54% 0.1258 -0.138)
OKLCHoklch(40.54% 0.187 312.3)
XYZxyz(11.1337, 5.5134, 26.4590)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A138F #388F13
analogous
#2C138F #6A138F #8F1376
triadic
#6A138F #8F6A13 #138F6A
tetradic
#6A138F #8F2C13 #388F13 #13768F
square
#6A138F #8F2C13 #388F13 #13768F
split-complementary
#6A138F #768F13 #138F2C
monochromatic
#1A0523 #420C59 #6A138F #921AC5 #B138E5

Accessibility & contrast

On white

9.99
#6A138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6A138F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A138F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A138F#FFFFFF#000000##FFFFFF
##6A138F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a138f;
/* rgb */ color: rgb(106, 19, 143);
/* oklch */ color: oklch(40.5% 0.187 312.3);
Tailwind
colors: {
  custom: {
    50: '#995fb1',
    500: '#6a138f',
    950: '#000000',
  },
}
SCSS
$custom: #6a138f;
$custom-light: #995fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a138f",
  "rgb": {
    "r": 106,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 282.097,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.18673,
    "h": 312.3
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#6A138F
secondary
#63C33B
accent
#F3356E
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #6A138F

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

Preview Lab → · Contrast checker → · Palette generator →

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