#6218A0#6218A0

#6218A0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.197 H 302.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6218A0
RGBrgb(98, 24, 160)
HSLhsl(273, 74%, 36%)
HSVhsv(273, 85%, 63%)
CMYKcmyk(38.8%, 85%, 0%, 37.3%)
CIE-LABlab(28.87, 55.37, -57.99)
CIE-LCHlch(28.87, 80.18, 313.67°)
OKLaboklab(41.24% 0.1057 -0.1657)
OKLCHoklch(41.24% 0.197 302.5)
XYZxyz(11.7073, 5.7880, 33.7513)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6218A0 #56A018
analogous
#1E18A0 #6218A0 #A0189A
triadic
#6218A0 #A06218 #18A062
tetradic
#6218A0 #A01E18 #56A018 #189AA0
square
#6218A0 #A01E18 #56A018 #189AA0
split-complementary
#6218A0 #9AA018 #18A01E
monochromatic
#210836 #41106B #6218A0 #8320D5 #A04EE4

Accessibility & contrast

On white

9.73
#6218A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6218A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6218A0
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6218A0#FFFFFF#000000##FFFFFF
##6218A01.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#55405F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6218a0;
/* rgb */ color: rgb(98, 24, 160);
/* oklch */ color: oklch(41.2% 0.197 302.5);
Tailwind
colors: {
  custom: {
    50: '#9561bd',
    500: '#6218a0',
    950: '#000000',
  },
}
SCSS
$custom: #6218a0;
$custom-light: #9561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6218a0",
  "rgb": {
    "r": 98,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 272.647,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.19654,
    "h": 302.5
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#6218A0
secondary
#85C64D
accent
#F1378C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6218A0

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

Preview Lab → · Contrast checker → · Palette generator →

#6218A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva