#6027A1#6027A1

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

Color values

HEX#6027A1
RGBrgb(96, 39, 161)
HSLhsl(268, 61%, 39%)
HSVhsv(268, 76%, 63%)
CMYKcmyk(40.4%, 75.8%, 0%, 36.9%)
CIE-LABlab(30.67, 49.55, -55.67)
CIE-LCHlch(30.67, 74.53, 311.67°)
OKLaboklab(42.46% 0.0907 -0.1591)
OKLCHoklch(42.46% 0.183 299.7)
XYZxyz(11.9808, 6.5109, 34.3368)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6027A1 #68A127
analogous
#272BA1 #6027A1 #9D27A1
triadic
#6027A1 #A16027 #27A160
tetradic
#6027A1 #A1272B #68A127 #27A19D
square
#6027A1 #A1272B #68A127 #27A19D
split-complementary
#6027A1 #A19D27 #2BA127
monochromatic
#250F3E #431B70 #6027A1 #7E37CE #9D68DA

Accessibility & contrast

On white

9.12
#6027A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6027A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6027A1
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6027A1#FFFFFF#000000##FFFFFF
##6027A11.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#514762
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6027a1;
/* rgb */ color: rgb(96, 39, 161);
/* oklch */ color: oklch(42.5% 0.183 299.7);
Tailwind
colors: {
  custom: {
    50: '#9367be',
    500: '#6027a1',
    950: '#000000',
  },
}
SCSS
$custom: #6027a1;
$custom-light: #9367be;
$custom-dark: #000000;
JSON
{
  "hex": "#6027a1",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 268.033,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.18311,
    "h": 299.7
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#6027A1
secondary
#95C063
accent
#E44499
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6027A1

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

Preview Lab → · Contrast checker → · Palette generator →

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