#6339C5#6339C5

#6339C5 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.204 H 290.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6339C5
RGBrgb(99, 57, 197)
HSLhsl(258, 55%, 50%)
HSVhsv(258, 71%, 77%)
CMYKcmyk(49.7%, 71.1%, 0%, 22.7%)
CIE-LABlab(37.13, 50.94, -66.50)
CIE-LCHlch(37.13, 83.76, 307.45°)
OKLaboklab(48.05% 0.0708 -0.1908)
OKLCHoklch(48.05% 0.204 290.3)
XYZxyz(16.6839, 9.6094, 53.7882)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339C5 #9BC539
analogous
#3955C5 #6339C5 #A939C5
triadic
#6339C5 #C56339 #39C563
tetradic
#6339C5 #C53955 #9BC539 #39C5A9
square
#6339C5 #C53955 #9BC539 #39C5A9
split-complementary
#6339C5 #C5A939 #55C539
monochromatic
#331E66 #4B2B96 #6339C5 #8868D3 #AD97E1

Accessibility & contrast

On white

7.19
#6339C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6339C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339C5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339C5#FFFFFF#000000##FFFFFF
##6339C51.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#425E7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6339c5;
/* rgb */ color: rgb(99, 57, 197);
/* oklch */ color: oklch(48.1% 0.204 290.3);
Tailwind
colors: {
  custom: {
    50: '#9873d8',
    500: '#6339c5',
    950: '#000000',
  },
}
SCSS
$custom: #6339c5;
$custom-light: #9873d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6339c5",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 258,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48053,
    "c": 0.20355,
    "h": 290.3
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#6339C5
secondary
#BACD8D
accent
#DE49B2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6339C5

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

Preview Lab → · Contrast checker → · Palette generator →

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