#6027A4#6027A4

#6027A4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.186 H 298.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6027A4
RGBrgb(96, 39, 164)
HSLhsl(267, 62%, 40%)
HSVhsv(267, 76%, 64%)
CMYKcmyk(41.5%, 76.2%, 0%, 35.7%)
CIE-LABlab(30.92, 50.31, -57.07)
CIE-LCHlch(30.92, 76.08, 311.39°)
OKLaboklab(42.72% 0.09 -0.1632)
OKLCHoklch(42.72% 0.186 298.9)
XYZxyz(12.2485, 6.6180, 35.7468)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6027A4 #6BA427
analogous
#272DA4 #6027A4 #9E27A4
triadic
#6027A4 #A46027 #27A460
tetradic
#6027A4 #A4272D #6BA427 #27A49E
square
#6027A4 #A4272D #6BA427 #27A49E
split-complementary
#6027A4 #A49E27 #2DA427
monochromatic
#260F41 #431B73 #6027A4 #7D38D0 #9E6ADC

Accessibility & contrast

On white

9.04
#6027A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6027A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6027A4#FFFFFF#000000##FFFFFF
##6027A41.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#4F4864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6027a4;
/* rgb */ color: rgb(96, 39, 164);
/* oklch */ color: oklch(42.7% 0.186 298.9);
Tailwind
colors: {
  custom: {
    50: '#9467c0',
    500: '#6027a4',
    950: '#000000',
  },
}
SCSS
$custom: #6027a4;
$custom-light: #9467c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6027a4",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 267.36,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.18633,
    "h": 298.9
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#6027A4
secondary
#97C265
accent
#E5439B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6027A4

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

Preview Lab → · Contrast checker → · Palette generator →

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