#6A1CB3#6A1CB3

#6A1CB3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.3% C 0.213 H 300.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6A1CB3
RGBrgb(106, 28, 179)
HSLhsl(271, 73%, 41%)
HSVhsv(271, 84%, 70%)
CMYKcmyk(40.8%, 84.4%, 0%, 29.8%)
CIE-LABlab(32.14, 59.61, -64.02)
CIE-LCHlch(32.14, 87.47, 312.96°)
OKLaboklab(44.26% 0.1087 -0.1831)
OKLCHoklch(44.26% 0.213 300.7)
XYZxyz(14.4938, 7.1492, 43.2554)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1CB3 #65B31C
analogous
#1E1CB3 #6A1CB3 #B31CB1
triadic
#6A1CB3 #B36A1C #1CB36A
tetradic
#6A1CB3 #B31E1C #65B31C #1CB1B3
square
#6A1CB3 #B31E1C #65B31C #1CB1B3
split-complementary
#6A1CB3 #B1B31C #1CB31E
monochromatic
#2B0B49 #4B147E #6A1CB3 #892EDE #A763E7

Accessibility & contrast

On white

8.64
#6A1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6A1CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1CB3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1CB3#FFFFFF#000000##FFFFFF
##6A1CB31.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#59496B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a1cb3;
/* rgb */ color: rgb(106, 28, 179);
/* oklch */ color: oklch(44.3% 0.213 300.7);
Tailwind
colors: {
  custom: {
    50: '#9c64cb',
    500: '#6a1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #6a1cb3;
$custom-light: #9c64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1cb3",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 270.993,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.21294,
    "h": 300.7
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#6A1CB3
secondary
#94CB5F
accent
#F03891
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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