#6027A8#6027A8

#6027A8 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.191 H 297.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#6027A8
RGBrgb(96, 39, 168)
HSLhsl(267, 62%, 41%)
HSVhsv(267, 77%, 66%)
CMYKcmyk(42.9%, 76.8%, 0%, 34.1%)
CIE-LABlab(31.27, 51.32, -58.92)
CIE-LCHlch(31.27, 78.14, 311.05°)
OKLaboklab(43.07% 0.0889 -0.1686)
OKLCHoklch(43.07% 0.191 297.8)
XYZxyz(12.6154, 6.7648, 37.6793)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6027A8 #6FA827
analogous
#272EA8 #6027A8 #A127A8
triadic
#6027A8 #A86027 #27A860
tetradic
#6027A8 #A8272E #6FA827 #27A8A1
square
#6027A8 #A8272E #6FA827 #27A8A1
split-complementary
#6027A8 #A8A127 #2EA827
monochromatic
#271045 #441B76 #6027A8 #7D3BD1 #9E6CDD

Accessibility & contrast

On white

8.92
#6027A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6027A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6027A8
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6027A8#FFFFFF#000000##FFFFFF
##6027A81.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#4E4966
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6027a8;
/* rgb */ color: rgb(96, 39, 168);
/* oklch */ color: oklch(43.1% 0.191 297.8);
Tailwind
colors: {
  custom: {
    50: '#9468c3',
    500: '#6027a8',
    950: '#000000',
  },
}
SCSS
$custom: #6027a8;
$custom-light: #9468c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6027a8",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 266.512,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.19062,
    "h": 297.8
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#6027A8
secondary
#9BC367
accent
#E5429D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6027A8

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

Preview Lab → · Contrast checker → · Palette generator →

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