#6818B3#6818B3

#6818B3 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.215 H 300.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6818B3
RGBrgb(104, 24, 179)
HSLhsl(271, 76%, 40%)
HSVhsv(271, 87%, 70%)
CMYKcmyk(41.9%, 86.6%, 0%, 29.8%)
CIE-LABlab(31.46, 60.53, -65.14)
CIE-LCHlch(31.46, 88.93, 312.90°)
OKLaboklab(43.74% 0.108 -0.1865)
OKLCHoklch(43.74% 0.215 300.1)
XYZxyz(14.1702, 6.8508, 43.2149)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6818B3 #63B318
analogous
#1B18B3 #6818B3 #B318B0
triadic
#6818B3 #B36818 #18B368
tetradic
#6818B3 #B31B18 #63B318 #18B0B3
square
#6818B3 #B31B18 #63B318 #18B0B3
split-complementary
#6818B3 #B0B318 #18B31B
monochromatic
#290A47 #49117D #6818B3 #8726E2 #A55CE9

Accessibility & contrast

On white

8.86
#6818B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6818B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6818B3
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6818B3#FFFFFF#000000##FFFFFF
##6818B31.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#56486A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6818b3;
/* rgb */ color: rgb(104, 24, 179);
/* oklch */ color: oklch(43.7% 0.215 300.1);
Tailwind
colors: {
  custom: {
    50: '#9b63cb',
    500: '#6818b3',
    950: '#000000',
  },
}
SCSS
$custom: #6818b3;
$custom-light: #9b63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6818b3",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 270.968,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.21547,
    "h": 300.1
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#6818B3
secondary
#92CD5A
accent
#F33591
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6818B3

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

Preview Lab → · Contrast checker → · Palette generator →

#6818B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva