#6027AE#6027AE

#6027AE is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.197 H 296.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6027AE
RGBrgb(96, 39, 174)
HSLhsl(265, 63%, 42%)
HSVhsv(265, 78%, 68%)
CMYKcmyk(44.8%, 77.6%, 0%, 31.8%)
CIE-LABlab(31.79, 52.85, -61.66)
CIE-LCHlch(31.79, 81.21, 310.60°)
OKLaboklab(43.6% 0.0873 -0.1766)
OKLCHoklch(43.6% 0.197 296.3)
XYZxyz(13.1873, 6.9935, 40.6913)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6027AE #75AE27
analogous
#2732AE #6027AE #A427AE
triadic
#6027AE #AE6027 #27AE60
tetradic
#6027AE #AE2732 #75AE27 #27AEA4
square
#6027AE #AE2732 #75AE27 #27AEA4
split-complementary
#6027AE #AEA427 #32AE27
monochromatic
#29114A #441C7C #6027AE #7D3ED4 #9F70DF

Accessibility & contrast

On white

8.75
#6027AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6027AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6027AE#FFFFFF#000000##FFFFFF
##6027AE1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#4B4C6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6027ae;
/* rgb */ color: rgb(96, 39, 174);
/* oklch */ color: oklch(43.6% 0.197 296.3);
Tailwind
colors: {
  custom: {
    50: '#9568c7',
    500: '#6027ae',
    950: '#000000',
  },
}
SCSS
$custom: #6027ae;
$custom-light: #9568c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6027ae",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 265.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43598,
    "c": 0.19703,
    "h": 296.3
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#6027AE
secondary
#9FC66B
accent
#E641A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6027AE

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

Preview Lab → · Contrast checker → · Palette generator →

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