#6D18AB#6D18AB

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

Color values

HEX#6D18AB
RGBrgb(109, 24, 171)
HSLhsl(275, 75%, 38%)
HSVhsv(275, 86%, 67%)
CMYKcmyk(36.3%, 86%, 0%, 32.9%)
CIE-LABlab(31.45, 59.42, -60.35)
CIE-LCHlch(31.45, 84.69, 314.55°)
OKLaboklab(43.66% 0.1183 -0.1722)
OKLCHoklch(43.66% 0.209 304.5)
XYZxyz(13.9823, 6.8448, 39.1047)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D18AB #56AB18
analogous
#2318AB #6D18AB #AB189F
triadic
#6D18AB #AB6D18 #18AB6D
tetradic
#6D18AB #AB2318 #56AB18 #189FAB
square
#6D18AB #AB2318 #56AB18 #189FAB
split-complementary
#6D18AB #9FAB18 #18AB23
monochromatic
#290940 #4B1075 #6D18AB #8F20E0 #AA56E7

Accessibility & contrast

On white

8.86
#6D18AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6D18AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D18AB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D18AB#FFFFFF#000000##FFFFFF
##6D18AB1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#614365
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d18ab;
/* rgb */ color: rgb(109, 24, 171);
/* oklch */ color: oklch(43.7% 0.209 304.5);
Tailwind
colors: {
  custom: {
    50: '#9d63c5',
    500: '#6d18ab',
    950: '#000000',
  },
}
SCSS
$custom: #6d18ab;
$custom-light: #9d63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d18ab",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 171
  },
  "hsl": {
    "h": 274.694,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.20895,
    "h": 304.5
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#6D18AB
secondary
#86CA55
accent
#F23685
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D18AB

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

Preview Lab → · Contrast checker → · Palette generator →

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