#6C18AB#6C18AB

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

Color values

HEX#6C18AB
RGBrgb(108, 24, 171)
HSLhsl(274, 75%, 38%)
HSVhsv(274, 86%, 67%)
CMYKcmyk(36.8%, 86%, 0%, 32.9%)
CIE-LABlab(31.30, 59.27, -60.60)
CIE-LCHlch(31.30, 84.77, 314.37°)
OKLaboklab(43.53% 0.1168 -0.173)
OKLCHoklch(43.53% 0.209 304)
XYZxyz(13.8599, 6.7817, 39.0990)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C18AB #57AB18
analogous
#2318AB #6C18AB #AB18A0
triadic
#6C18AB #AB6C18 #18AB6C
tetradic
#6C18AB #AB2318 #57AB18 #18A0AB
square
#6C18AB #AB2318 #57AB18 #18A0AB
split-complementary
#6C18AB #A0AB18 #18AB23
monochromatic
#280940 #4A1075 #6C18AB #8E20E0 #A956E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C18AB#FFFFFF#000000##FFFFFF
##6C18AB1.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)
#0048AF
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#5F4365
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c18ab;
/* rgb */ color: rgb(108, 24, 171);
/* oklch */ color: oklch(43.5% 0.209 304.0);
Tailwind
colors: {
  custom: {
    50: '#9d63c5',
    500: '#6c18ab',
    950: '#000000',
  },
}
SCSS
$custom: #6c18ab;
$custom-light: #9d63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c18ab",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 171
  },
  "hsl": {
    "h": 274.286,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43526,
    "c": 0.20875,
    "h": 304
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#6C18AB
secondary
#87CA55
accent
#F23686
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C18AB

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

Preview Lab → · Contrast checker → · Palette generator →

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