#6339D0#6339D0

#6339D0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.216 H 288.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#6339D0
RGBrgb(99, 57, 208)
HSLhsl(257, 62%, 52%)
HSVhsv(257, 73%, 82%)
CMYKcmyk(52.4%, 72.6%, 0%, 18.4%)
CIE-LABlab(38.08, 53.98, -71.34)
CIE-LCHlch(38.08, 89.46, 307.12°)
OKLaboklab(49.01% 0.0684 -0.205)
OKLCHoklch(49.01% 0.216 288.5)
XYZxyz(17.9905, 10.1321, 60.6700)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339D0 #A6D039
analogous
#395AD0 #6339D0 #AF39D0
triadic
#6339D0 #D06339 #39D063
tetradic
#6339D0 #D0395A #A6D039 #39D0AF
square
#6339D0 #D0395A #A6D039 #39D0AF
split-complementary
#6339D0 #D0AF39 #5AD039
monochromatic
#341B73 #4A27A5 #6339D0 #8A6ADC #B19CE7

Accessibility & contrast

On white

6.94
#6339D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6339D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339D0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339D0#FFFFFF#000000##FFFFFF
##6339D01.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#0056CD
Tritanopia (blue-blind)
#396281
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6339d0;
/* rgb */ color: rgb(99, 57, 208);
/* oklch */ color: oklch(49.0% 0.216 288.5);
Tailwind
colors: {
  custom: {
    50: '#9a73e0',
    500: '#6339d0',
    950: '#000000',
  },
}
SCSS
$custom: #6339d0;
$custom-light: #9a73e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6339d0",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 208
  },
  "hsl": {
    "h": 256.689,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.21616,
    "h": 288.5
  },
  "luminance": 0.10133
}

Semantic roles & 50–950 ramp

primary
#6339D0
secondary
#C1D391
accent
#E543B8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6339D0

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

Preview Lab → · Contrast checker → · Palette generator →

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