#6339D6#6339D6

#6339D6 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.223 H 287.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6339D6
RGBrgb(99, 57, 214)
HSLhsl(256, 66%, 53%)
HSVhsv(256, 73%, 84%)
CMYKcmyk(53.7%, 73.4%, 0%, 16.1%)
CIE-LABlab(38.61, 55.65, -73.93)
CIE-LCHlch(38.61, 92.53, 306.97°)
OKLaboklab(49.55% 0.067 -0.2126)
OKLCHoklch(49.55% 0.223 287.5)
XYZxyz(18.7427, 10.4330, 64.6315)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339D6 #ACD639
analogous
#395DD6 #6339D6 #B139D6
triadic
#6339D6 #D66339 #39D663
tetradic
#6339D6 #D6395D #ACD639 #39D6B1
square
#6339D6 #D6395D #ACD639 #39D6B1
split-complementary
#6339D6 #D6B139 #5DD639
monochromatic
#34197B #4924AE #6339D6 #8B6CE0 #B39EEB

Accessibility & contrast

On white

6.80
#6339D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6339D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339D6
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339D6#FFFFFF#000000##FFFFFF
##6339D61.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDB
Deuteranopia (green-blind)
#0057D3
Tritanopia (blue-blind)
#336485
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6339d6;
/* rgb */ color: rgb(99, 57, 214);
/* oklch */ color: oklch(49.5% 0.223 287.5);
Tailwind
colors: {
  custom: {
    50: '#9b74e4',
    500: '#6339d6',
    950: '#000000',
  },
}
SCSS
$custom: #6339d6;
$custom-light: #9b74e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6339d6",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 256.051,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.22295,
    "h": 287.5
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#6339D6
secondary
#C5D794
accent
#E93FBB
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6339D6

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

Preview Lab → · Contrast checker → · Palette generator →

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