#6039AF#6039AF

#6039AF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.178 H 293.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6039AF
RGBrgb(96, 57, 175)
HSLhsl(260, 51%, 45%)
HSVhsv(260, 67%, 69%)
CMYKcmyk(45.1%, 67.4%, 0%, 31.4%)
CIE-LABlab(35.02, 44.29, -56.99)
CIE-LCHlch(35.02, 72.18, 307.85°)
OKLaboklab(45.91% 0.0703 -0.163)
OKLCHoklch(45.91% 0.178 293.3)
XYZxyz(14.0227, 8.5078, 41.4525)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039AF #88AF39
analogous
#394DAF #6039AF #9B39AF
triadic
#6039AF #AF6039 #39AF60
tetradic
#6039AF #AF394D #88AF39 #39AF9B
square
#6039AF #AF394D #88AF39 #39AF9B
split-complementary
#6039AF #AF9B39 #4DAF39
monochromatic
#2D1B53 #472A81 #6039AF #805BCA #A48AD9

Accessibility & contrast

On white

7.77
#6039AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6039AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6039AF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039AF#FFFFFF#000000##FFFFFF
##6039AF1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#49566F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6039af;
/* rgb */ color: rgb(96, 57, 175);
/* oklch */ color: oklch(45.9% 0.178 293.3);
Tailwind
colors: {
  custom: {
    50: '#9472c8',
    500: '#6039af',
    950: '#000000',
  },
}
SCSS
$custom: #6039af;
$custom-light: #9472c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6039af",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 259.831,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.17754,
    "h": 293.3
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#6039AF
secondary
#ADC381
accent
#DA4DAC
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6039AF

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

Preview Lab → · Contrast checker → · Palette generator →

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