#6339DA#6339DA

#6339DA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.227 H 286.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6339DA
RGBrgb(99, 57, 218)
HSLhsl(256, 69%, 54%)
HSVhsv(256, 74%, 85%)
CMYKcmyk(54.6%, 73.9%, 0%, 14.5%)
CIE-LABlab(38.97, 56.75, -75.64)
CIE-LCHlch(38.97, 94.56, 306.88°)
OKLaboklab(49.91% 0.0661 -0.2176)
OKLCHoklch(49.91% 0.227 286.9)
XYZxyz(19.2598, 10.6398, 67.3549)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339DA #B0DA39
analogous
#3960DA #6339DA #B439DA
triadic
#6339DA #DA6339 #39DA63
tetradic
#6339DA #DA3960 #B0DA39 #39DAB4
square
#6339DA #DA3960 #B0DA39 #39DAB4
split-complementary
#6339DA #DAB439 #60DA39
monochromatic
#331881 #4822B4 #6339DA #8C6DE4 #B4A0ED

Accessibility & contrast

On white

6.71
#6339DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6339DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339DA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339DA#FFFFFF#000000##FFFFFF
##6339DA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0057D7
Tritanopia (blue-blind)
#2F6687
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6339da;
/* rgb */ color: rgb(99, 57, 218);
/* oklch */ color: oklch(49.9% 0.227 286.9);
Tailwind
colors: {
  custom: {
    50: '#9b74e7',
    500: '#6339da',
    950: '#000000',
  },
}
SCSS
$custom: #6339da;
$custom-light: #9b74e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6339da",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 255.652,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49912,
    "c": 0.22746,
    "h": 286.9
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#6339DA
secondary
#C8DA95
accent
#EB3CBE
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6339DA

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

Preview Lab → · Contrast checker → · Palette generator →

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