#6B1CA8#6B1CA8

#6B1CA8 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.203 H 304.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6B1CA8
RGBrgb(107, 28, 168)
HSLhsl(274, 71%, 38%)
HSVhsv(274, 83%, 66%)
CMYKcmyk(36.3%, 83.3%, 0%, 34.1%)
CIE-LABlab(31.31, 57.25, -58.79)
CIE-LCHlch(31.31, 82.06, 314.24°)
OKLaboklab(43.42% 0.1138 -0.1677)
OKLCHoklch(43.42% 0.203 304.1)
XYZxyz(13.5449, 6.7835, 37.6340)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1CA8 #59A81C
analogous
#251CA8 #6B1CA8 #A81C9F
triadic
#6B1CA8 #A86B1C #1CA86B
tetradic
#6B1CA8 #A8251C #59A81C #1C9FA8
square
#6B1CA8 #A8251C #59A81C #1C9FA8
split-complementary
#6B1CA8 #9FA81C #1CA825
monochromatic
#280B3F #4A1374 #6B1CA8 #8C26DB #A85BE4

Accessibility & contrast

On white

8.91
#6B1CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6B1CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1CA8
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1CA8#FFFFFF#000000##FFFFFF
##6B1CA81.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#5F4464
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b1ca8;
/* rgb */ color: rgb(107, 28, 168);
/* oklch */ color: oklch(43.4% 0.203 304.1);
Tailwind
colors: {
  custom: {
    50: '#9c64c3',
    500: '#6b1ca8',
    950: '#000000',
  },
}
SCSS
$custom: #6b1ca8;
$custom-light: #9c64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1ca8",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 273.857,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.2027,
    "h": 304.1
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#6B1CA8
secondary
#89C758
accent
#EE3A88
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B1CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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