#6027B0#6027B0

#6027B0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.199 H 295.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6027B0
RGBrgb(96, 39, 176)
HSLhsl(265, 64%, 42%)
HSVhsv(265, 78%, 69%)
CMYKcmyk(45.5%, 77.8%, 0%, 31%)
CIE-LABlab(31.97, 53.36, -62.56)
CIE-LCHlch(31.97, 82.23, 310.46°)
OKLaboklab(43.78% 0.0867 -0.1793)
OKLCHoklch(43.78% 0.199 295.8)
XYZxyz(13.3838, 7.0721, 41.7258)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6027B0 #77B027
analogous
#2732B0 #6027B0 #A527B0
triadic
#6027B0 #B06027 #27B060
tetradic
#6027B0 #B02732 #77B027 #27B0A5
square
#6027B0 #B02732 #77B027 #27B0A5
split-complementary
#6027B0 #B0A527 #32B027
monochromatic
#29114C #451C7E #6027B0 #7E40D5 #9F72E0

Accessibility & contrast

On white

8.70
#6027B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6027B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6027B0
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6027B0#FFFFFF#000000##FFFFFF
##6027B01.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#4A4D6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6027b0;
/* rgb */ color: rgb(96, 39, 176);
/* oklch */ color: oklch(43.8% 0.199 295.8);
Tailwind
colors: {
  custom: {
    50: '#9568c9',
    500: '#6027b0',
    950: '#000000',
  },
}
SCSS
$custom: #6027b0;
$custom-light: #9568c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6027b0",
  "rgb": {
    "r": 96,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 264.964,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43777,
    "c": 0.19916,
    "h": 295.8
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#6027B0
secondary
#A1C76C
accent
#E741A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6027B0

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

Preview Lab → · Contrast checker → · Palette generator →

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