#6339DC#6339DC

#6339DC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.230 H 286.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6339DC
RGBrgb(99, 57, 220)
HSLhsl(255, 70%, 54%)
HSVhsv(255, 74%, 86%)
CMYKcmyk(55%, 74.1%, 0%, 13.7%)
CIE-LABlab(39.15, 57.31, -76.49)
CIE-LCHlch(39.15, 95.58, 306.84°)
OKLaboklab(50.09% 0.0656 -0.2201)
OKLCHoklch(50.09% 0.23 286.6)
XYZxyz(19.5231, 10.7451, 68.7416)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339DC #B2DC39
analogous
#3961DC #6339DC #B539DC
triadic
#6339DC #DC6339 #39DC63
tetradic
#6339DC #DC3961 #B2DC39 #39DCB5
square
#6339DC #DC3961 #B2DC39 #39DCB5
split-complementary
#6339DC #DCB539 #61DC39
monochromatic
#331783 #4720B7 #6339DC #8C6DE5 #B5A1EE

Accessibility & contrast

On white

6.67
#6339DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6339DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339DC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339DC#FFFFFF#000000##FFFFFF
##6339DC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#2C6688
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6339dc;
/* rgb */ color: rgb(99, 57, 220);
/* oklch */ color: oklch(50.1% 0.230 286.6);
Tailwind
colors: {
  custom: {
    50: '#9c74e8',
    500: '#6339dc',
    950: '#000000',
  },
}
SCSS
$custom: #6339dc;
$custom-light: #9c74e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6339dc",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 255.46,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.2297,
    "h": 286.6
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#6339DC
secondary
#C9DB96
accent
#ED3BBF
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6339DC

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

Preview Lab → · Contrast checker → · Palette generator →

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