#6A18A0#6A18A0

#6A18A0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.198 H 306.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6A18A0
RGBrgb(106, 24, 160)
HSLhsl(276, 74%, 36%)
HSVhsv(276, 85%, 63%)
CMYKcmyk(33.7%, 85%, 0%, 37.3%)
CIE-LABlab(30.05, 56.56, -56.02)
CIE-LCHlch(30.05, 79.60, 315.27°)
OKLaboklab(42.3% 0.1175 -0.1596)
OKLCHoklch(42.3% 0.198 306.4)
XYZxyz(12.6142, 6.2556, 33.7938)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A18A0 #4EA018
analogous
#2618A0 #6A18A0 #A01892
triadic
#6A18A0 #A06A18 #18A06A
tetradic
#6A18A0 #A02618 #4EA018 #1892A0
square
#6A18A0 #A02618 #4EA018 #1892A0
split-complementary
#6A18A0 #92A018 #18A026
monochromatic
#230836 #47106B #6A18A0 #8D20D5 #A94EE4

Accessibility & contrast

On white

9.33
#6A18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6A18A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A18A0
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A18A0#FFFFFF#000000##FFFFFF
##6A18A01.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#603F5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a18a0;
/* rgb */ color: rgb(106, 24, 160);
/* oklch */ color: oklch(42.3% 0.198 306.4);
Tailwind
colors: {
  custom: {
    50: '#9a62bd',
    500: '#6a18a0',
    950: '#000000',
  },
}
SCSS
$custom: #6a18a0;
$custom-light: #9a62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a18a0",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 276.176,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.19821,
    "h": 306.4
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#6A18A0
secondary
#7DC64D
accent
#F13781
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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