#6339BA#6339BA

#6339BA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.191 H 292.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6339BA
RGBrgb(99, 57, 186)
HSLhsl(260, 53%, 48%)
HSVhsv(260, 69%, 73%)
CMYKcmyk(46.8%, 69.4%, 0%, 27.1%)
CIE-LABlab(36.22, 47.90, -61.53)
CIE-LCHlch(36.22, 77.98, 307.90°)
OKLaboklab(47.12% 0.0728 -0.1763)
OKLCHoklch(47.12% 0.191 292.5)
XYZxyz(15.4692, 9.1236, 47.3908)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339BA #90BA39
analogous
#394FBA #6339BA #A339BA
triadic
#6339BA #BA6339 #39BA63
tetradic
#6339BA #BA394F #90BA39 #39BAA3
square
#6339BA #BA394F #90BA39 #39BAA3
split-complementary
#6339BA #BAA339 #4FBA39
monochromatic
#311C5C #4A2B8B #6339BA #8561CF #A990DD

Accessibility & contrast

On white

7.43
#6339BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6339BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339BA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339BA#FFFFFF#000000##FFFFFF
##6339BA1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#495975
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6339ba;
/* rgb */ color: rgb(99, 57, 186);
/* oklch */ color: oklch(47.1% 0.191 292.5);
Tailwind
colors: {
  custom: {
    50: '#9773d0',
    500: '#6339ba',
    950: '#000000',
  },
}
SCSS
$custom: #6339ba;
$custom-light: #9773d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6339ba",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 259.535,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.19073,
    "h": 292.5
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#6339BA
secondary
#B3C887
accent
#DC4BAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6339BA

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

Preview Lab → · Contrast checker → · Palette generator →

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