#6339BB#6339BB

#6339BB is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.192 H 292.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6339BB
RGBrgb(99, 57, 187)
HSLhsl(259, 53%, 48%)
HSVhsv(259, 70%, 73%)
CMYKcmyk(47.1%, 69.5%, 0%, 26.7%)
CIE-LABlab(36.30, 48.17, -61.99)
CIE-LCHlch(36.30, 78.51, 307.85°)
OKLaboklab(47.21% 0.0727 -0.1776)
OKLCHoklch(47.21% 0.192 292.2)
XYZxyz(15.5759, 9.1662, 47.9527)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339BB #91BB39
analogous
#3950BB #6339BB #A439BB
triadic
#6339BB #BB6339 #39BB63
tetradic
#6339BB #BB3950 #91BB39 #39BBA4
square
#6339BB #BB3950 #91BB39 #39BBA4
split-complementary
#6339BB #BBA439 #50BB39
monochromatic
#311C5D #4A2B8C #6339BB #8562CF #AA91DD

Accessibility & contrast

On white

7.41
#6339BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6339BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339BB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339BB#FFFFFF#000000##FFFFFF
##6339BB1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#485A76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6339bb;
/* rgb */ color: rgb(99, 57, 187);
/* oklch */ color: oklch(47.2% 0.192 292.2);
Tailwind
colors: {
  custom: {
    50: '#9773d0',
    500: '#6339bb',
    950: '#000000',
  },
}
SCSS
$custom: #6339bb;
$custom-light: #9773d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6339bb",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 259.385,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.1919,
    "h": 292.2
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6339BB

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

Preview Lab → · Contrast checker → · Palette generator →

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