#6339BF#6339BF

#6339BF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.197 H 291.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6339BF
RGBrgb(99, 57, 191)
HSLhsl(259, 54%, 49%)
HSVhsv(259, 70%, 75%)
CMYKcmyk(48.2%, 70.2%, 0%, 25.1%)
CIE-LABlab(36.63, 49.28, -63.80)
CIE-LCHlch(36.63, 80.62, 307.68°)
OKLaboklab(47.54% 0.0719 -0.1829)
OKLCHoklch(47.54% 0.197 291.5)
XYZxyz(16.0100, 9.3399, 50.2393)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339BF #95BF39
analogous
#3952BF #6339BF #A639BF
triadic
#6339BF #BF6339 #39BF63
tetradic
#6339BF #BF3952 #95BF39 #39BFA6
square
#6339BF #BF3952 #95BF39 #39BFA6
split-complementary
#6339BF #BFA639 #52BF39
monochromatic
#321D61 #4B2B90 #6339BF #8664D1 #AB93DF

Accessibility & contrast

On white

7.32
#6339BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6339BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339BF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339BF#FFFFFF#000000##FFFFFF
##6339BF1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#455B78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6339bf;
/* rgb */ color: rgb(99, 57, 191);
/* oklch */ color: oklch(47.5% 0.197 291.5);
Tailwind
colors: {
  custom: {
    50: '#9873d3',
    500: '#6339bf',
    950: '#000000',
  },
}
SCSS
$custom: #6339bf;
$custom-light: #9873d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6339bf",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 258.806,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47541,
    "c": 0.19658,
    "h": 291.5
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#6339BF
secondary
#B6CA8A
accent
#DD4AAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6339BF

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

Preview Lab → · Contrast checker → · Palette generator →

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