#6039B0#6039B0

#6039B0 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.179 H 293.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6039B0
RGBrgb(96, 57, 176)
HSLhsl(260, 51%, 46%)
HSVhsv(260, 68%, 69%)
CMYKcmyk(45.5%, 67.6%, 0%, 31%)
CIE-LABlab(35.10, 44.57, -57.46)
CIE-LCHlch(35.10, 72.72, 307.80°)
OKLaboklab(45.99% 0.0701 -0.1644)
OKLCHoklch(45.99% 0.179 293.1)
XYZxyz(14.1213, 8.5472, 41.9716)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039B0 #89B039
analogous
#394DB0 #6039B0 #9B39B0
triadic
#6039B0 #B06039 #39B060
tetradic
#6039B0 #B0394D #89B039 #39B09B
square
#6039B0 #B0394D #89B039 #39B09B
split-complementary
#6039B0 #B09B39 #4DB039
monochromatic
#2E1B54 #472A82 #6039B0 #805CCA #A48AD9

Accessibility & contrast

On white

7.75
#6039B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6039B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039B0
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039B0#FFFFFF#000000##FFFFFF
##6039B01.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#495670
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6039b0;
/* rgb */ color: rgb(96, 57, 176);
/* oklch */ color: oklch(46.0% 0.179 293.1);
Tailwind
colors: {
  custom: {
    50: '#9472c8',
    500: '#6039b0',
    950: '#000000',
  },
}
SCSS
$custom: #6039b0;
$custom-light: #9472c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6039b0",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 259.664,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.17874,
    "h": 293.1
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#6039B0
secondary
#AEC481
accent
#DB4DAC
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6039B0

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

Preview Lab → · Contrast checker → · Palette generator →

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