#6B1CA7#6B1CA7

#6B1CA7 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.3% C 0.202 H 304.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6B1CA7
RGBrgb(107, 28, 167)
HSLhsl(274, 71%, 38%)
HSVhsv(274, 83%, 65%)
CMYKcmyk(35.9%, 83.2%, 0%, 34.5%)
CIE-LABlab(31.22, 57.02, -58.33)
CIE-LCHlch(31.22, 81.57, 314.35°)
OKLaboklab(43.33% 0.1141 -0.1664)
OKLCHoklch(43.33% 0.202 304.4)
XYZxyz(13.4521, 6.7464, 37.1452)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1CA7 #58A71C
analogous
#261CA7 #6B1CA7 #A71C9D
triadic
#6B1CA7 #A76B1C #1CA76B
tetradic
#6B1CA7 #A7261C #58A71C #1C9DA7
square
#6B1CA7 #A7261C #58A71C #1C9DA7
split-complementary
#6B1CA7 #9DA71C #1CA726
monochromatic
#280A3E #491373 #6B1CA7 #8C26DB #A85AE3

Accessibility & contrast

On white

8.94
#6B1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6B1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1CA7
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1CA7#FFFFFF#000000##FFFFFF
##6B1CA71.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#5F4364
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b1ca7;
/* rgb */ color: rgb(107, 28, 167);
/* oklch */ color: oklch(43.3% 0.202 304.4);
Tailwind
colors: {
  custom: {
    50: '#9c64c2',
    500: '#6b1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ca7;
$custom-light: #9c64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ca7",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 274.101,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.20176,
    "h": 304.4
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#6B1CA7
secondary
#88C758
accent
#EE3A88
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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