#6039B5#6039B5

#6039B5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.185 H 292.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6039B5
RGBrgb(96, 57, 181)
HSLhsl(259, 52%, 47%)
HSVhsv(259, 69%, 71%)
CMYKcmyk(47%, 68.5%, 0%, 29%)
CIE-LABlab(35.50, 45.97, -59.77)
CIE-LCHlch(35.50, 75.41, 307.56°)
OKLaboklab(46.4% 0.0694 -0.1712)
OKLCHoklch(46.4% 0.185 292.1)
XYZxyz(14.6252, 8.7487, 44.6252)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039B5 #8EB539
analogous
#3950B5 #6039B5 #9E39B5
triadic
#6039B5 #B56039 #39B560
tetradic
#6039B5 #B53950 #8EB539 #39B59E
square
#6039B5 #B53950 #8EB539 #39B59E
split-complementary
#6039B5 #B59E39 #50B539
monochromatic
#2F1C58 #472A86 #6039B5 #815FCD #A68DDB

Accessibility & contrast

On white

7.64
#6039B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6039B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039B5
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039B5#FFFFFF#000000##FFFFFF
##6039B51.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#465872
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6039b5;
/* rgb */ color: rgb(96, 57, 181);
/* oklch */ color: oklch(46.4% 0.185 292.1);
Tailwind
colors: {
  custom: {
    50: '#9472cc',
    500: '#6039b5',
    950: '#000000',
  },
}
SCSS
$custom: #6039b5;
$custom-light: #9472cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6039b5",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 258.871,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.18473,
    "h": 292.1
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#6039B5
secondary
#B1C684
accent
#DC4CAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6039B5

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

Preview Lab → · Contrast checker → · Palette generator →

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