#6339D4#6339D4

#6339D4 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.221 H 287.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6339D4
RGBrgb(99, 57, 212)
HSLhsl(256, 64%, 53%)
HSVhsv(256, 73%, 83%)
CMYKcmyk(53.3%, 73.1%, 0%, 16.9%)
CIE-LABlab(38.43, 55.09, -73.07)
CIE-LCHlch(38.43, 91.51, 307.02°)
OKLaboklab(49.37% 0.0675 -0.2101)
OKLCHoklch(49.37% 0.221 287.8)
XYZxyz(18.4889, 10.3314, 63.2945)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339D4 #AAD439
analogous
#395DD4 #6339D4 #B039D4
triadic
#6339D4 #D46339 #39D463
tetradic
#6339D4 #D4395D #AAD439 #39D4B0
square
#6339D4 #D4395D #AAD439 #39D4B0
split-complementary
#6339D4 #D4B039 #5DD439
monochromatic
#341A78 #4925AB #6339D4 #8B6BDF #B29EEA

Accessibility & contrast

On white

6.85
#6339D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6339D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339D4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339D4#FFFFFF#000000##FFFFFF
##6339D41.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#356384
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6339d4;
/* rgb */ color: rgb(99, 57, 212);
/* oklch */ color: oklch(49.4% 0.221 287.8);
Tailwind
colors: {
  custom: {
    50: '#9a74e2',
    500: '#6339d4',
    950: '#000000',
  },
}
SCSS
$custom: #6339d4;
$custom-light: #9a74e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6339d4",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 212
  },
  "hsl": {
    "h": 256.258,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.2207,
    "h": 287.8
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#6339D4
secondary
#C4D693
accent
#E740BA
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6339D4

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

Preview Lab → · Contrast checker → · Palette generator →

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