#6339D3#6339D3

#6339D3 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.220 H 288.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6339D3
RGBrgb(99, 57, 211)
HSLhsl(256, 64%, 53%)
HSVhsv(256, 73%, 83%)
CMYKcmyk(53.1%, 73%, 0%, 17.3%)
CIE-LABlab(38.34, 54.82, -72.64)
CIE-LCHlch(38.34, 91.00, 307.04°)
OKLaboklab(49.28% 0.0677 -0.2089)
OKLCHoklch(49.28% 0.22 288)
XYZxyz(18.3631, 10.2811, 62.6323)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339D3 #A9D339
analogous
#395CD3 #6339D3 #B039D3
triadic
#6339D3 #D36339 #39D363
tetradic
#6339D3 #D3395C #A9D339 #39D3B0
square
#6339D3 #D3395C #A9D339 #39D3B0
split-complementary
#6339D3 #D3B039 #5CD339
monochromatic
#341A77 #4926A9 #6339D3 #8A6BDE #B29DE9

Accessibility & contrast

On white

6.87
#6339D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6339D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339D3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339D3#FFFFFF#000000##FFFFFF
##6339D31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#366383
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6339d3;
/* rgb */ color: rgb(99, 57, 211);
/* oklch */ color: oklch(49.3% 0.220 288.0);
Tailwind
colors: {
  custom: {
    50: '#9a74e2',
    500: '#6339d3',
    950: '#000000',
  },
}
SCSS
$custom: #6339d3;
$custom-light: #9a74e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6339d3",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 256.364,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.21957,
    "h": 288
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#6339D3
secondary
#C3D592
accent
#E741BA
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #6339D3

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

Preview Lab → · Contrast checker → · Palette generator →

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