#6339C4#6339C4

#6339C4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.0% C 0.202 H 290.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6339C4
RGBrgb(99, 57, 196)
HSLhsl(258, 55%, 50%)
HSVhsv(258, 71%, 77%)
CMYKcmyk(49.5%, 70.9%, 0%, 23.1%)
CIE-LABlab(37.05, 50.66, -66.05)
CIE-LCHlch(37.05, 83.24, 307.49°)
OKLaboklab(47.97% 0.071 -0.1895)
OKLCHoklch(47.97% 0.202 290.5)
XYZxyz(16.5697, 9.5638, 53.1868)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339C4 #9AC439
analogous
#3955C4 #6339C4 #A839C4
triadic
#6339C4 #C46339 #39C463
tetradic
#6339C4 #C43955 #9AC439 #39C4A8
square
#6339C4 #C43955 #9AC439 #39C4A8
split-complementary
#6339C4 #C4A839 #55C439
monochromatic
#331D65 #4B2B95 #6339C4 #8867D3 #AD97E1

Accessibility & contrast

On white

7.21
#6339C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6339C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339C4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339C4#FFFFFF#000000##FFFFFF
##6339C41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#425D7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6339c4;
/* rgb */ color: rgb(99, 57, 196);
/* oklch */ color: oklch(48.0% 0.202 290.5);
Tailwind
colors: {
  custom: {
    50: '#9873d7',
    500: '#6339c4',
    950: '#000000',
  },
}
SCSS
$custom: #6339c4;
$custom-light: #9873d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6339c4",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 258.129,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.20239,
    "h": 290.5
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#6339C4
secondary
#B9CC8D
accent
#DE4AB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6339C4

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

Preview Lab → · Contrast checker → · Palette generator →

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