#6339D2#6339D2

#6339D2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.218 H 288.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6339D2
RGBrgb(99, 57, 210)
HSLhsl(256, 63%, 52%)
HSVhsv(256, 73%, 82%)
CMYKcmyk(52.9%, 72.9%, 0%, 17.6%)
CIE-LABlab(38.25, 54.54, -72.21)
CIE-LCHlch(38.25, 90.49, 307.06°)
OKLaboklab(49.19% 0.068 -0.2076)
OKLCHoklch(49.19% 0.218 288.1)
XYZxyz(18.2382, 10.2311, 61.9741)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339D2 #A8D239
analogous
#395BD2 #6339D2 #B039D2
triadic
#6339D2 #D26339 #39D263
tetradic
#6339D2 #D2395B #A8D239 #39D2B0
square
#6339D2 #D2395B #A8D239 #39D2B0
split-complementary
#6339D2 #D2B039 #5BD239
monochromatic
#341B76 #4A26A8 #6339D2 #8A6BDD #B29DE9

Accessibility & contrast

On white

6.89
#6339D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6339D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339D2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339D2#FFFFFF#000000##FFFFFF
##6339D21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#376282
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6339d2;
/* rgb */ color: rgb(99, 57, 210);
/* oklch */ color: oklch(49.2% 0.218 288.1);
Tailwind
colors: {
  custom: {
    50: '#9a74e1',
    500: '#6339d2',
    950: '#000000',
  },
}
SCSS
$custom: #6339d2;
$custom-light: #9a74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6339d2",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 256.471,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.21843,
    "h": 288.1
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#6339D2
secondary
#C2D592
accent
#E642B9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6339D2

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

Preview Lab → · Contrast checker → · Palette generator →

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