#6D18A0#6D18A0

#6D18A0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.7% C 0.199 H 307.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6D18A0
RGBrgb(109, 24, 160)
HSLhsl(278, 74%, 36%)
HSVhsv(278, 85%, 63%)
CMYKcmyk(31.9%, 85%, 0%, 37.3%)
CIE-LABlab(30.50, 57.02, -55.26)
CIE-LCHlch(30.50, 79.40, 315.90°)
OKLaboklab(42.71% 0.1218 -0.1573)
OKLCHoklch(42.71% 0.199 307.8)
XYZxyz(12.9771, 6.4427, 33.8108)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D18A0 #4BA018
analogous
#2918A0 #6D18A0 #A0188F
triadic
#6D18A0 #A06D18 #18A06D
tetradic
#6D18A0 #A02918 #4BA018 #188FA0
square
#6D18A0 #A02918 #4BA018 #188FA0
split-complementary
#6D18A0 #8FA018 #18A029
monochromatic
#240836 #49106B #6D18A0 #9120D5 #AC4EE4

Accessibility & contrast

On white

9.18
#6D18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6D18A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D18A0
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D18A0#FFFFFF#000000##FFFFFF
##6D18A01.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#643E5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d18a0;
/* rgb */ color: rgb(109, 24, 160);
/* oklch */ color: oklch(42.7% 0.199 307.8);
Tailwind
colors: {
  custom: {
    50: '#9c62bd',
    500: '#6d18a0',
    950: '#000000',
  },
}
SCSS
$custom: #6d18a0;
$custom-light: #9c62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d18a0",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 277.5,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.19893,
    "h": 307.8
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#6D18A0
secondary
#7BC64D
accent
#F1377D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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