#6215A0#6215A0

#6215A0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.199 H 302.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6215A0
RGBrgb(98, 21, 160)
HSLhsl(273, 77%, 35%)
HSVhsv(273, 87%, 63%)
CMYKcmyk(38.8%, 86.9%, 0%, 37.3%)
CIE-LABlab(28.57, 56.26, -58.49)
CIE-LCHlch(28.57, 81.16, 313.89°)
OKLaboklab(41.03% 0.1076 -0.1671)
OKLCHoklch(41.03% 0.199 302.8)
XYZxyz(11.6488, 5.6710, 33.7318)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6215A0 #53A015
analogous
#1C15A0 #6215A0 #A01599
triadic
#6215A0 #A06215 #15A062
tetradic
#6215A0 #A01C15 #53A015 #1599A0
square
#6215A0 #A01C15 #53A015 #1599A0
split-complementary
#6215A0 #99A015 #15A01C
monochromatic
#200734 #410E6A #6215A0 #831CD6 #A048E7

Accessibility & contrast

On white

9.84
#6215A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6215A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6215A0
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6215A0#FFFFFF#000000##FFFFFF
##6215A01.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#553F5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6215a0;
/* rgb */ color: rgb(98, 21, 160);
/* oklch */ color: oklch(41.0% 0.199 302.8);
Tailwind
colors: {
  custom: {
    50: '#9560bd',
    500: '#6215a0',
    950: '#000000',
  },
}
SCSS
$custom: #6215a0;
$custom-light: #9560bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6215a0",
  "rgb": {
    "r": 98,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 273.237,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41032,
    "c": 0.19875,
    "h": 302.8
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#6215A0
secondary
#82C849
accent
#F3348A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6215A0

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

Preview Lab → · Contrast checker → · Palette generator →

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