#6027AA#6027AA

#6027AA is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.193 H 297.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6027AA
RGBrgb(96, 39, 170)
HSLhsl(266, 63%, 41%)
HSVhsv(266, 77%, 67%)
CMYKcmyk(43.5%, 77.1%, 0%, 33.3%)
CIE-LABlab(31.44, 51.83, -59.84)
CIE-LCHlch(31.44, 79.16, 310.90°)
OKLaboklab(43.24% 0.0884 -0.1713)
OKLCHoklch(43.24% 0.193 297.3)
XYZxyz(12.8032, 6.8399, 38.6681)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6027AA #71AA27
analogous
#272FAA #6027AA #A127AA
triadic
#6027AA #AA6027 #27AA60
tetradic
#6027AA #AA272F #71AA27 #27AAA1
square
#6027AA #AA272F #71AA27 #27AAA1
split-complementary
#6027AA #AAA127 #2FAA27
monochromatic
#281046 #441C78 #6027AA #7D3CD2 #9E6EDE

Accessibility & contrast

On white

8.87
#6027AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6027AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6027AA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6027AA#FFFFFF#000000##FFFFFF
##6027AA1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#4D4A67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6027aa;
/* rgb */ color: rgb(96, 39, 170);
/* oklch */ color: oklch(43.2% 0.193 297.3);
Tailwind
colors: {
  custom: {
    50: '#9468c4',
    500: '#6027aa',
    950: '#000000',
  },
}
SCSS
$custom: #6027aa;
$custom-light: #9468c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6027aa",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 266.107,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43243,
    "c": 0.19276,
    "h": 297.3
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#6027AA
secondary
#9CC469
accent
#E6429F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6027AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6027AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva