#6B13A1#6B13A1

#6B13A1 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.2% C 0.203 H 306.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6B13A1
RGBrgb(107, 19, 161)
HSLhsl(277, 79%, 35%)
HSVhsv(277, 88%, 63%)
CMYKcmyk(33.5%, 88.2%, 0%, 36.9%)
CIE-LABlab(29.82, 58.28, -56.98)
CIE-LCHlch(29.82, 81.51, 315.65°)
OKLaboklab(42.21% 0.1216 -0.1624)
OKLCHoklch(42.21% 0.203 306.8)
XYZxyz(12.7279, 6.1649, 34.2307)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B13A1 #49A113
analogous
#2413A1 #6B13A1 #A11390
triadic
#6B13A1 #A16B13 #13A16B
tetradic
#6B13A1 #A12413 #49A113 #1390A1
square
#6B13A1 #A12413 #49A113 #1390A1
split-complementary
#6B13A1 #90A113 #13A124
monochromatic
#220634 #470D6A #6B13A1 #8F19D8 #AB45E9

Accessibility & contrast

On white

9.40
#6B13A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6B13A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B13A1
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B13A1#FFFFFF#000000##FFFFFF
##6B13A11.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#613D5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b13a1;
/* rgb */ color: rgb(107, 19, 161);
/* oklch */ color: oklch(42.2% 0.203 306.8);
Tailwind
colors: {
  custom: {
    50: '#9b60be',
    500: '#6b13a1',
    950: '#000000',
  },
}
SCSS
$custom: #6b13a1;
$custom-light: #9b60be;
$custom-dark: #000000;
JSON
{
  "hex": "#6b13a1",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 161
  },
  "hsl": {
    "h": 277.183,
    "s": 78.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.20289,
    "h": 306.8
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#6B13A1
secondary
#78CA46
accent
#F5327D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B13A1

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

Preview Lab → · Contrast checker → · Palette generator →

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