#6339C3#6339C3

#6339C3 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.9% C 0.201 H 290.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6339C3
RGBrgb(99, 57, 195)
HSLhsl(258, 55%, 49%)
HSVhsv(258, 71%, 76%)
CMYKcmyk(49.2%, 70.8%, 0%, 23.5%)
CIE-LABlab(36.96, 50.38, -65.60)
CIE-LCHlch(36.96, 82.72, 307.53°)
OKLaboklab(47.88% 0.0712 -0.1882)
OKLCHoklch(47.88% 0.201 290.7)
XYZxyz(16.4562, 9.5184, 52.5893)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339C3 #99C339
analogous
#3954C3 #6339C3 #A839C3
triadic
#6339C3 #C36339 #39C363
tetradic
#6339C3 #C33954 #99C339 #39C3A8
square
#6339C3 #C33954 #99C339 #39C3A8
split-complementary
#6339C3 #C3A839 #54C339
monochromatic
#331D64 #4B2B94 #6339C3 #8867D2 #AD96E0

Accessibility & contrast

On white

7.23
#6339C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6339C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339C3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339C3#FFFFFF#000000##FFFFFF
##6339C31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#435D7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6339c3;
/* rgb */ color: rgb(99, 57, 195);
/* oklch */ color: oklch(47.9% 0.201 290.7);
Tailwind
colors: {
  custom: {
    50: '#9873d6',
    500: '#6339c3',
    950: '#000000',
  },
}
SCSS
$custom: #6339c3;
$custom-light: #9873d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6339c3",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 258.261,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.20123,
    "h": 290.7
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6339C3

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

Preview Lab → · Contrast checker → · Palette generator →

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