#6339CC#6339CC

#6339CC is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.212 H 289.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6339CC
RGBrgb(99, 57, 204)
HSLhsl(257, 59%, 51%)
HSVhsv(257, 72%, 80%)
CMYKcmyk(51.5%, 72.1%, 0%, 20%)
CIE-LABlab(37.73, 52.88, -69.59)
CIE-LCHlch(37.73, 87.40, 307.23°)
OKLaboklab(48.66% 0.0693 -0.1999)
OKLCHoklch(48.66% 0.212 289.1)
XYZxyz(17.5046, 9.9377, 58.1109)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339CC #A2CC39
analogous
#3958CC #6339CC #AC39CC
triadic
#6339CC #CC6339 #39CC63
tetradic
#6339CC #CC3958 #A2CC39 #39CCAC
square
#6339CC #CC3958 #A2CC39 #39CCAC
split-complementary
#6339CC #CCAC39 #58CC39
monochromatic
#341C6E #4B299F #6339CC #896AD9 #B09AE5

Accessibility & contrast

On white

7.03
#6339CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6339CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339CC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339CC#FFFFFF#000000##FFFFFF
##6339CC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#3C607F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6339cc;
/* rgb */ color: rgb(99, 57, 204);
/* oklch */ color: oklch(48.7% 0.212 289.1);
Tailwind
colors: {
  custom: {
    50: '#9973dd',
    500: '#6339cc',
    950: '#000000',
  },
}
SCSS
$custom: #6339cc;
$custom-light: #9973dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6339cc",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 257.143,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.21159,
    "h": 289.1
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#6339CC
secondary
#BED190
accent
#E246B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6339CC

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

Preview Lab → · Contrast checker → · Palette generator →

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