#6E18B3#6E18B3

#6E18B3 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.5% C 0.216 H 302.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6E18B3
RGBrgb(110, 24, 179)
HSLhsl(273, 76%, 40%)
HSVhsv(273, 87%, 70%)
CMYKcmyk(38.5%, 86.6%, 0%, 29.8%)
CIE-LABlab(32.31, 61.32, -63.73)
CIE-LCHlch(32.31, 88.44, 313.90°)
OKLaboklab(44.5% 0.117 -0.1821)
OKLCHoklch(44.5% 0.216 302.7)
XYZxyz(14.8918, 7.2229, 43.2487)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E18B3 #5DB318
analogous
#2018B3 #6E18B3 #B318AB
triadic
#6E18B3 #B36E18 #18B36E
tetradic
#6E18B3 #B32018 #5DB318 #18ABB3
square
#6E18B3 #B32018 #5DB318 #18ABB3
split-complementary
#6E18B3 #ABB318 #18B320
monochromatic
#2C0A47 #4D117D #6E18B3 #8E26E2 #AA5CE9

Accessibility & contrast

On white

8.59
#6E18B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6E18B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E18B3
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E18B3#FFFFFF#000000##FFFFFF
##6E18B31.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#5F476A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e18b3;
/* rgb */ color: rgb(110, 24, 179);
/* oklch */ color: oklch(44.5% 0.216 302.7);
Tailwind
colors: {
  custom: {
    50: '#9f64cb',
    500: '#6e18b3',
    950: '#000000',
  },
}
SCSS
$custom: #6e18b3;
$custom-light: #9f64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e18b3",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 273.29,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44496,
    "c": 0.21644,
    "h": 302.7
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#6E18B3
secondary
#8DCD5A
accent
#F33589
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E18B3

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

Preview Lab → · Contrast checker → · Palette generator →

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