#6039DA#6039DA

#6039DA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.228 H 285.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6039DA
RGBrgb(96, 57, 218)
HSLhsl(255, 69%, 54%)
HSVhsv(255, 74%, 85%)
CMYKcmyk(56%, 73.9%, 0%, 14.5%)
CIE-LABlab(38.68, 56.35, -76.12)
CIE-LCHlch(38.68, 94.71, 306.51°)
OKLaboklab(49.64% 0.0618 -0.2192)
OKLCHoklch(49.64% 0.228 285.7)
XYZxyz(18.9381, 10.4739, 67.3398)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6039DA #B3DA39
analogous
#3963DA #6039DA #B139DA
triadic
#6039DA #DA6039 #39DA60
tetradic
#6039DA #DA3963 #B3DA39 #39DAB1
square
#6039DA #DA3963 #B3DA39 #39DAB1
split-complementary
#6039DA #DAB139 #63DA39
monochromatic
#311881 #4522B4 #6039DA #896DE4 #B3A0ED

Accessibility & contrast

On white

6.79
#6039DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6039DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6039DA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6039DA#FFFFFF#000000##FFFFFF
##6039DA1.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDF
Deuteranopia (green-blind)
#0056D7
Tritanopia (blue-blind)
#256687
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6039da;
/* rgb */ color: rgb(96, 57, 218);
/* oklch */ color: oklch(49.6% 0.228 285.7);
Tailwind
colors: {
  custom: {
    50: '#9a74e7',
    500: '#6039da',
    950: '#000000',
  },
}
SCSS
$custom: #6039da;
$custom-light: #9a74e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6039da",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 254.534,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.2277,
    "h": 285.7
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#6039DA
secondary
#C9DA95
accent
#EB3CC1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6039DA

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

Preview Lab → · Contrast checker → · Palette generator →

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