#6039B1#6039B1

#6039B1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.180 H 292.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6039B1
RGBrgb(96, 57, 177)
HSLhsl(260, 51%, 46%)
HSVhsv(260, 68%, 69%)
CMYKcmyk(45.8%, 67.8%, 0%, 30.6%)
CIE-LABlab(35.18, 44.85, -57.92)
CIE-LCHlch(35.18, 73.26, 307.75°)
OKLaboklab(46.07% 0.07 -0.1658)
OKLCHoklch(46.07% 0.18 292.9)
XYZxyz(14.2206, 8.5869, 42.4946)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039B1 #8AB139
analogous
#394EB1 #6039B1 #9C39B1
triadic
#6039B1 #B16039 #39B160
tetradic
#6039B1 #B1394E #8AB139 #39B19C
square
#6039B1 #B1394E #8AB139 #39B19C
split-complementary
#6039B1 #B19C39 #4EB139
monochromatic
#2E1B54 #472A83 #6039B1 #805DCB #A48BDA

Accessibility & contrast

On white

7.73
#6039B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6039B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039B1
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039B1#FFFFFF#000000##FFFFFF
##6039B11.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#485670
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6039b1;
/* rgb */ color: rgb(96, 57, 177);
/* oklch */ color: oklch(46.1% 0.180 292.9);
Tailwind
colors: {
  custom: {
    50: '#9472c9',
    500: '#6039b1',
    950: '#000000',
  },
}
SCSS
$custom: #6039b1;
$custom-light: #9472c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6039b1",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 259.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.17994,
    "h": 292.9
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#6039B1
secondary
#AEC482
accent
#DB4DAD
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6039B1

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

Preview Lab → · Contrast checker → · Palette generator →

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