#6E18AB#6E18AB

#6E18AB is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.8% C 0.209 H 304.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6E18AB
RGBrgb(110, 24, 171)
HSLhsl(275, 75%, 38%)
HSVhsv(275, 86%, 67%)
CMYKcmyk(35.7%, 86%, 0%, 32.9%)
CIE-LABlab(31.60, 59.56, -60.10)
CIE-LCHlch(31.60, 84.62, 314.74°)
OKLaboklab(43.79% 0.1198 -0.1715)
OKLCHoklch(43.79% 0.209 304.9)
XYZxyz(14.1060, 6.9086, 39.1105)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E18AB #55AB18
analogous
#2418AB #6E18AB #AB189E
triadic
#6E18AB #AB6E18 #18AB6E
tetradic
#6E18AB #AB2418 #55AB18 #189EAB
square
#6E18AB #AB2418 #55AB18 #189EAB
split-complementary
#6E18AB #9EAB18 #18AB24
monochromatic
#290940 #4B1075 #6E18AB #9020E0 #AB56E7

Accessibility & contrast

On white

8.82
#6E18AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E18AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E18AB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E18AB#FFFFFF#000000##FFFFFF
##6E18AB1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e18ab;
/* rgb */ color: rgb(110, 24, 171);
/* oklch */ color: oklch(43.8% 0.209 304.9);
Tailwind
colors: {
  custom: {
    50: '#9e63c5',
    500: '#6e18ab',
    950: '#000000',
  },
}
SCSS
$custom: #6e18ab;
$custom-light: #9e63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e18ab",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 171
  },
  "hsl": {
    "h": 275.102,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43789,
    "c": 0.20915,
    "h": 304.9
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#6E18AB
secondary
#85CA55
accent
#F23684
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E18AB

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

Preview Lab → · Contrast checker → · Palette generator →

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