#6A13B4#6A13B4

#6A13B4 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.8% C 0.220 H 301.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6A13B4
RGBrgb(106, 19, 180)
HSLhsl(272, 81%, 39%)
HSVhsv(272, 89%, 71%)
CMYKcmyk(41.1%, 89.4%, 0%, 29.4%)
CIE-LABlab(31.41, 62.30, -65.83)
CIE-LCHlch(31.41, 90.63, 313.42°)
OKLaboklab(43.79% 0.1132 -0.1883)
OKLCHoklch(43.79% 0.22 301)
XYZxyz(14.4129, 6.8251, 43.7292)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A13B4 #5DB413
analogous
#1913B4 #6A13B4 #B413AE
triadic
#6A13B4 #B46A13 #13B46A
tetradic
#6A13B4 #B41913 #5DB413 #13AEB4
square
#6A13B4 #B41913 #5DB413 #13AEB4
split-complementary
#6A13B4 #AEB413 #13B419
monochromatic
#290745 #490D7D #6A13B4 #8A1DE7 #A754ED

Accessibility & contrast

On white

8.88
#6A13B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6A13B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A13B4
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A13B4#FFFFFF#000000##FFFFFF
##6A13B41.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#59476A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a13b4;
/* rgb */ color: rgb(106, 19, 180);
/* oklch */ color: oklch(43.8% 0.220 301.0);
Tailwind
colors: {
  custom: {
    50: '#9d62cc',
    500: '#6a13b4',
    950: '#000000',
  },
}
SCSS
$custom: #6a13b4;
$custom-light: #9d62cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a13b4",
  "rgb": {
    "r": 106,
    "g": 19,
    "b": 180
  },
  "hsl": {
    "h": 272.422,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.21973,
    "h": 301
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#6A13B4
secondary
#8CCF53
accent
#F7308C
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A13B4

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

Preview Lab → · Contrast checker → · Palette generator →

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