#6027A2#6027A2

#6027A2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.184 H 299.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6027A2
RGBrgb(96, 39, 162)
HSLhsl(268, 61%, 39%)
HSVhsv(268, 76%, 64%)
CMYKcmyk(40.7%, 75.9%, 0%, 36.5%)
CIE-LABlab(30.75, 49.80, -56.14)
CIE-LCHlch(30.75, 75.05, 311.58°)
OKLaboklab(42.55% 0.0905 -0.1604)
OKLCHoklch(42.55% 0.184 299.4)
XYZxyz(12.0693, 6.5463, 34.8031)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6027A2 #69A227
analogous
#272CA2 #6027A2 #9E27A2
triadic
#6027A2 #A26027 #27A260
tetradic
#6027A2 #A2272C #69A227 #27A29E
square
#6027A2 #A2272C #69A227 #27A29E
split-complementary
#6027A2 #A29E27 #2CA227
monochromatic
#260F3F #431B71 #6027A2 #7E37CF #9E69DB

Accessibility & contrast

On white

9.09
#6027A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6027A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6027A2#FFFFFF#000000##FFFFFF
##6027A21.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#504763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6027a2;
/* rgb */ color: rgb(96, 39, 162);
/* oklch */ color: oklch(42.5% 0.184 299.4);
Tailwind
colors: {
  custom: {
    50: '#9367be',
    500: '#6027a2',
    950: '#000000',
  },
}
SCSS
$custom: #6027a2;
$custom-light: #9367be;
$custom-dark: #000000;
JSON
{
  "hex": "#6027a2",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 267.805,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.18419,
    "h": 299.4
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#6027A2
secondary
#96C164
accent
#E4439A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6027A2

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

Preview Lab → · Contrast checker → · Palette generator →

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