#6A139F#6A139F

#6A139F is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.9% C 0.201 H 307.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6A139F
RGBrgb(106, 19, 159)
HSLhsl(277, 79%, 35%)
HSVhsv(277, 88%, 62%)
CMYKcmyk(33.3%, 88.1%, 0%, 37.6%)
CIE-LABlab(29.50, 57.71, -56.31)
CIE-LCHlch(29.50, 80.63, 315.70°)
OKLaboklab(41.89% 0.1209 -0.1604)
OKLCHoklch(41.89% 0.201 307)
XYZxyz(12.4334, 6.0333, 33.3037)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A139F #489F13
analogous
#24139F #6A139F #9F138E
triadic
#6A139F #9F6A13 #139F6A
tetradic
#6A139F #9F2413 #489F13 #138E9F
square
#6A139F #9F2413 #489F13 #138E9F
split-complementary
#6A139F #8E9F13 #139F24
monochromatic
#210632 #460C68 #6A139F #8E1AD6 #AA44E9

Accessibility & contrast

On white

9.52
#6A139F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6A139F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A139F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A139F#FFFFFF#000000##FFFFFF
##6A139F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#613D5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a139f;
/* rgb */ color: rgb(106, 19, 159);
/* oklch */ color: oklch(41.9% 0.201 307.0);
Tailwind
colors: {
  custom: {
    50: '#9b60bc',
    500: '#6a139f',
    950: '#000000',
  },
}
SCSS
$custom: #6a139f;
$custom-light: #9b60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a139f",
  "rgb": {
    "r": 106,
    "g": 19,
    "b": 159
  },
  "hsl": {
    "h": 277.286,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41893,
    "c": 0.20087,
    "h": 307
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#6A139F
secondary
#77C945
accent
#F5337C
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0512
muted
#7F7A81

Preview Lab

Preview with #6A139F

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

Preview Lab → · Contrast checker → · Palette generator →

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