#6027A5#6027A5

#6027A5 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.187 H 298.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6027A5
RGBrgb(96, 39, 165)
HSLhsl(267, 62%, 40%)
HSVhsv(267, 76%, 65%)
CMYKcmyk(41.8%, 76.4%, 0%, 35.3%)
CIE-LABlab(31.01, 50.56, -57.54)
CIE-LCHlch(31.01, 76.60, 311.31°)
OKLaboklab(42.81% 0.0897 -0.1645)
OKLCHoklch(42.81% 0.187 298.6)
XYZxyz(12.3392, 6.6543, 36.2243)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6027A5 #6CA527
analogous
#272DA5 #6027A5 #9F27A5
triadic
#6027A5 #A56027 #27A560
tetradic
#6027A5 #A5272D #6CA527 #27A59F
square
#6027A5 #A5272D #6CA527 #27A59F
split-complementary
#6027A5 #A59F27 #2DA527
monochromatic
#261042 #431B74 #6027A5 #7D39D0 #9E6ADC

Accessibility & contrast

On white

9.01
#6027A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6027A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6027A5#FFFFFF#000000##FFFFFF
##6027A51.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#4F4865
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6027a5;
/* rgb */ color: rgb(96, 39, 165);
/* oklch */ color: oklch(42.8% 0.187 298.6);
Tailwind
colors: {
  custom: {
    50: '#9467c1',
    500: '#6027a5',
    950: '#000000',
  },
}
SCSS
$custom: #6027a5;
$custom-light: #9467c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6027a5",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 267.143,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.18741,
    "h": 298.6
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#6027A5
secondary
#98C266
accent
#E5439C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6027A5

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

Preview Lab → · Contrast checker → · Palette generator →

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