#6B1BA4#6B1BA4

#6B1BA4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.200 H 305.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6B1BA4
RGBrgb(107, 27, 164)
HSLhsl(275, 72%, 37%)
HSVhsv(275, 84%, 64%)
CMYKcmyk(34.8%, 83.5%, 0%, 35.7%)
CIE-LABlab(30.85, 56.67, -57.12)
CIE-LCHlch(30.85, 80.46, 314.78°)
OKLaboklab(43% 0.1157 -0.1628)
OKLCHoklch(43% 0.2 305.4)
XYZxyz(13.1547, 6.5901, 35.6938)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1BA4 #54A41B
analogous
#261BA4 #6B1BA4 #A41B99
triadic
#6B1BA4 #A46B1B #1BA46B
tetradic
#6B1BA4 #A4261B #54A41B #1B99A4
square
#6B1BA4 #A4261B #54A41B #1B99A4
split-complementary
#6B1BA4 #99A41B #1BA426
monochromatic
#260A3B #49126F #6B1BA4 #8D24D9 #A956E3

Accessibility & contrast

On white

9.06
#6B1BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6B1BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1BA4
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1BA4#FFFFFF#000000##FFFFFF
##6B1BA41.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#604162
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b1ba4;
/* rgb */ color: rgb(107, 27, 164);
/* oklch */ color: oklch(43.0% 0.200 305.4);
Tailwind
colors: {
  custom: {
    50: '#9b63c0',
    500: '#6b1ba4',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ba4;
$custom-light: #9b63c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ba4",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 164
  },
  "hsl": {
    "h": 275.036,
    "s": 71.728,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42997,
    "c": 0.19976,
    "h": 305.4
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#6B1BA4
secondary
#84C654
accent
#EE3985
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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