#6C1FA8#6C1FA8

#6C1FA8 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.8% C 0.200 H 304.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6C1FA8
RGBrgb(108, 31, 168)
HSLhsl(274, 69%, 39%)
HSVhsv(274, 82%, 66%)
CMYKcmyk(35.7%, 81.5%, 0%, 34.1%)
CIE-LABlab(31.80, 56.40, -57.99)
CIE-LCHlch(31.80, 80.89, 314.20°)
OKLaboklab(43.79% 0.1131 -0.1654)
OKLCHoklch(43.79% 0.2 304.4)
XYZxyz(13.7406, 6.9953, 37.6645)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1FA8 #5BA81F
analogous
#281FA8 #6C1FA8 #A81FA0
triadic
#6C1FA8 #A86C1F #1FA86C
tetradic
#6C1FA8 #A8281F #5BA81F #1FA0A8
square
#6C1FA8 #A8281F #5BA81F #1FA0A8
split-complementary
#6C1FA8 #A0A81F #1FA828
monochromatic
#2A0C41 #4B1574 #6C1FA8 #8D2CD8 #A960E2

Accessibility & contrast

On white

8.75
#6C1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C1FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1FA8
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1FA8#FFFFFF#000000##FFFFFF
##6C1FA81.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#604565
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c1fa8;
/* rgb */ color: rgb(108, 31, 168);
/* oklch */ color: oklch(43.8% 0.200 304.4);
Tailwind
colors: {
  custom: {
    50: '#9c65c3',
    500: '#6c1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6c1fa8;
$custom-light: #9c65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1fa8",
  "rgb": {
    "r": 108,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 273.723,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.20035,
    "h": 304.4
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#6C1FA8
secondary
#8BC65D
accent
#EC3C89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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