#6027A3#6027A3

#6027A3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.185 H 299.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6027A3
RGBrgb(96, 39, 163)
HSLhsl(268, 61%, 40%)
HSVhsv(268, 76%, 64%)
CMYKcmyk(41.1%, 76.1%, 0%, 36.1%)
CIE-LABlab(30.84, 50.05, -56.61)
CIE-LCHlch(30.84, 75.56, 311.48°)
OKLaboklab(42.63% 0.0902 -0.1618)
OKLCHoklch(42.63% 0.185 299.1)
XYZxyz(12.1586, 6.5820, 35.2731)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6027A3 #6AA327
analogous
#272CA3 #6027A3 #9E27A3
triadic
#6027A3 #A36027 #27A360
tetradic
#6027A3 #A3272C #6AA327 #27A39E
square
#6027A3 #A3272C #6AA327 #27A39E
split-complementary
#6027A3 #A39E27 #2CA327
monochromatic
#260F40 #431B72 #6027A3 #7D38CF #9E69DB

Accessibility & contrast

On white

9.07
#6027A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6027A3#FFFFFF#000000##FFFFFF
##6027A31.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#504763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6027a3;
/* rgb */ color: rgb(96, 39, 163);
/* oklch */ color: oklch(42.6% 0.185 299.1);
Tailwind
colors: {
  custom: {
    50: '#9467bf',
    500: '#6027a3',
    950: '#000000',
  },
}
SCSS
$custom: #6027a3;
$custom-light: #9467bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6027a3",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 267.581,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42633,
    "c": 0.18526,
    "h": 299.1
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6027A3

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

Preview Lab → · Contrast checker → · Palette generator →

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