#6039AE#6039AE

#6039AE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.8% C 0.176 H 293.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6039AE
RGBrgb(96, 57, 174)
HSLhsl(260, 51%, 45%)
HSVhsv(260, 67%, 68%)
CMYKcmyk(44.8%, 67.2%, 0%, 31.8%)
CIE-LABlab(34.94, 44.01, -56.52)
CIE-LCHlch(34.94, 71.64, 307.91°)
OKLaboklab(45.83% 0.0704 -0.1616)
OKLCHoklch(45.83% 0.176 293.5)
XYZxyz(13.9249, 8.4686, 40.9371)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039AE #87AE39
analogous
#394DAE #6039AE #9A39AE
triadic
#6039AE #AE6039 #39AE60
tetradic
#6039AE #AE394D #87AE39 #39AE9A
square
#6039AE #AE394D #87AE39 #39AE9A
split-complementary
#6039AE #AE9A39 #4DAE39
monochromatic
#2D1B52 #472A80 #6039AE #805BC9 #A389D8

Accessibility & contrast

On white

7.80
#6039AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6039AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039AE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039AE#FFFFFF#000000##FFFFFF
##6039AE1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#4A556F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6039ae;
/* rgb */ color: rgb(96, 57, 174);
/* oklch */ color: oklch(45.8% 0.176 293.5);
Tailwind
colors: {
  custom: {
    50: '#9472c7',
    500: '#6039ae',
    950: '#000000',
  },
}
SCSS
$custom: #6039ae;
$custom-light: #9472c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6039ae",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 260,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.17633,
    "h": 293.5
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#6039AE
secondary
#ACC380
accent
#DA4EAB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6039AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6039AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva