#6C1FA5#6C1FA5

#6C1FA5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.197 H 305.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6C1FA5
RGBrgb(108, 31, 165)
HSLhsl(274, 68%, 38%)
HSVhsv(274, 81%, 65%)
CMYKcmyk(34.5%, 81.2%, 0%, 35.3%)
CIE-LABlab(31.54, 55.72, -56.59)
CIE-LCHlch(31.54, 79.42, 314.55°)
OKLaboklab(43.53% 0.114 -0.1613)
OKLCHoklch(43.53% 0.197 305.2)
XYZxyz(13.4643, 6.8848, 36.2096)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1FA5 #58A51F
analogous
#291FA5 #6C1FA5 #A51F9B
triadic
#6C1FA5 #A56C1F #1FA56C
tetradic
#6C1FA5 #A5291F #58A51F #1F9BA5
square
#6C1FA5 #A5291F #58A51F #1F9BA5
split-complementary
#6C1FA5 #9BA51F #1FA529
monochromatic
#290C3E #4A1571 #6C1FA5 #8D2AD7 #A95EE1

Accessibility & contrast

On white

8.83
#6C1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6C1FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1FA5
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1FA5#FFFFFF#000000##FFFFFF
##6C1FA51.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#614363
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c1fa5;
/* rgb */ color: rgb(108, 31, 165);
/* oklch */ color: oklch(43.5% 0.197 305.2);
Tailwind
colors: {
  custom: {
    50: '#9c65c1',
    500: '#6c1fa5',
    950: '#000000',
  },
}
SCSS
$custom: #6c1fa5;
$custom-light: #9c65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1fa5",
  "rgb": {
    "r": 108,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 274.478,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43532,
    "c": 0.19748,
    "h": 305.2
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#6C1FA5
secondary
#88C55B
accent
#EB3D87
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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