#6D18A1#6D18A1

#6D18A1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.200 H 307.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6D18A1
RGBrgb(109, 24, 161)
HSLhsl(277, 74%, 36%)
HSVhsv(277, 85%, 63%)
CMYKcmyk(32.3%, 85.1%, 0%, 36.9%)
CIE-LABlab(30.59, 57.24, -55.73)
CIE-LCHlch(30.59, 79.88, 315.77°)
OKLaboklab(42.79% 0.1215 -0.1587)
OKLCHoklch(42.79% 0.2 307.5)
XYZxyz(13.0649, 6.4779, 34.2734)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D18A1 #4CA118
analogous
#2818A1 #6D18A1 #A11891
triadic
#6D18A1 #A16D18 #18A16D
tetradic
#6D18A1 #A12818 #4CA118 #1891A1
square
#6D18A1 #A12818 #4CA118 #1891A1
split-complementary
#6D18A1 #91A118 #18A128
monochromatic
#250836 #49106C #6D18A1 #9120D6 #AC4FE5

Accessibility & contrast

On white

9.15
#6D18A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6D18A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D18A1
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D18A1#FFFFFF#000000##FFFFFF
##6D18A11.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#643F5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d18a1;
/* rgb */ color: rgb(109, 24, 161);
/* oklch */ color: oklch(42.8% 0.200 307.5);
Tailwind
colors: {
  custom: {
    50: '#9d62be',
    500: '#6d18a1',
    950: '#000000',
  },
}
SCSS
$custom: #6d18a1;
$custom-light: #9d62be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d18a1",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 277.226,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.19984,
    "h": 307.5
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#6D18A1
secondary
#7CC74E
accent
#F1377E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D18A1

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

Preview Lab → · Contrast checker → · Palette generator →

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