#6E18A0#6E18A0

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

Color values

HEX#6E18A0
RGBrgb(110, 24, 160)
HSLhsl(278, 74%, 36%)
HSVhsv(278, 85%, 63%)
CMYKcmyk(31.2%, 85%, 0%, 37.3%)
CIE-LABlab(30.66, 57.18, -55.00)
CIE-LCHlch(30.66, 79.34, 316.11°)
OKLaboklab(42.85% 0.1232 -0.1565)
OKLCHoklch(42.85% 0.199 308.2)
XYZxyz(13.1009, 6.5065, 33.8166)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E18A0 #4AA018
analogous
#2A18A0 #6E18A0 #A0188E
triadic
#6E18A0 #A06E18 #18A06E
tetradic
#6E18A0 #A02A18 #4AA018 #188EA0
square
#6E18A0 #A02A18 #4AA018 #188EA0
split-complementary
#6E18A0 #8EA018 #18A02A
monochromatic
#250836 #49106B #6E18A0 #9320D5 #AD4EE4

Accessibility & contrast

On white

9.13
#6E18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E18A0
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E18A0#FFFFFF#000000##FFFFFF
##6E18A01.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e18a0;
/* rgb */ color: rgb(110, 24, 160);
/* oklch */ color: oklch(42.8% 0.199 308.2);
Tailwind
colors: {
  custom: {
    50: '#9d62bd',
    500: '#6e18a0',
    950: '#000000',
  },
}
SCSS
$custom: #6e18a0;
$custom-light: #9d62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e18a0",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 277.941,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42847,
    "c": 0.19918,
    "h": 308.2
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#6E18A0
secondary
#7AC64D
accent
#F1377B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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