#6018A0#6018A0

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

Color values

HEX#6018A0
RGBrgb(96, 24, 160)
HSLhsl(272, 74%, 36%)
HSVhsv(272, 85%, 63%)
CMYKcmyk(40%, 85%, 0%, 37.3%)
CIE-LABlab(28.59, 55.08, -58.47)
CIE-LCHlch(28.59, 80.33, 313.29°)
OKLaboklab(40.98% 0.1027 -0.1672)
OKLCHoklch(40.98% 0.196 301.6)
XYZxyz(11.4941, 5.6781, 33.7413)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6018A0 #58A018
analogous
#1C18A0 #6018A0 #A0189C
triadic
#6018A0 #A06018 #18A060
tetradic
#6018A0 #A01C18 #58A018 #189CA0
square
#6018A0 #A01C18 #58A018 #189CA0
split-complementary
#6018A0 #9CA018 #18A01C
monochromatic
#200836 #40106B #6018A0 #8020D5 #9E4EE4

Accessibility & contrast

On white

9.83
#6018A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6018A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6018A0
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6018A0#FFFFFF#000000##FFFFFF
##6018A01.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#51405F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6018a0;
/* rgb */ color: rgb(96, 24, 160);
/* oklch */ color: oklch(41.0% 0.196 301.6);
Tailwind
colors: {
  custom: {
    50: '#9460bd',
    500: '#6018a0',
    950: '#000000',
  },
}
SCSS
$custom: #6018a0;
$custom-light: #9460bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6018a0",
  "rgb": {
    "r": 96,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 271.765,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40984,
    "c": 0.19619,
    "h": 301.6
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#6018A0
secondary
#86C64D
accent
#F1378E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6018A0

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

Preview Lab → · Contrast checker → · Palette generator →

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