#6339BD#6339BD

#6339BD is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.194 H 291.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6339BD
RGBrgb(99, 57, 189)
HSLhsl(259, 54%, 48%)
HSVhsv(259, 70%, 74%)
CMYKcmyk(47.6%, 69.8%, 0%, 25.9%)
CIE-LABlab(36.47, 48.73, -62.90)
CIE-LCHlch(36.47, 79.56, 307.76°)
OKLaboklab(47.37% 0.0723 -0.1803)
OKLCHoklch(47.37% 0.194 291.9)
XYZxyz(15.7915, 9.2525, 49.0881)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339BD #93BD39
analogous
#3951BD #6339BD #A539BD
triadic
#6339BD #BD6339 #39BD63
tetradic
#6339BD #BD3951 #93BD39 #39BDA5
square
#6339BD #BD3951 #93BD39 #39BDA5
split-complementary
#6339BD #BDA539 #51BD39
monochromatic
#321D5F #4A2B8E #6339BD #8663D0 #AA92DE

Accessibility & contrast

On white

7.37
#6339BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6339BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339BD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339BD#FFFFFF#000000##FFFFFF
##6339BD1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#475A77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6339bd;
/* rgb */ color: rgb(99, 57, 189);
/* oklch */ color: oklch(47.4% 0.194 291.9);
Tailwind
colors: {
  custom: {
    50: '#9773d2',
    500: '#6339bd',
    950: '#000000',
  },
}
SCSS
$custom: #6339bd;
$custom-light: #9773d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6339bd",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 259.091,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.19424,
    "h": 291.9
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#6339BD
secondary
#B5C989
accent
#DD4BAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6339BD

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

Preview Lab → · Contrast checker → · Palette generator →

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