#6339BC#6339BC

#6339BC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.193 H 292.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6339BC
RGBrgb(99, 57, 188)
HSLhsl(259, 53%, 48%)
HSVhsv(259, 70%, 74%)
CMYKcmyk(47.3%, 69.7%, 0%, 26.3%)
CIE-LABlab(36.38, 48.45, -62.44)
CIE-LCHlch(36.38, 79.04, 307.81°)
OKLaboklab(47.29% 0.0725 -0.1789)
OKLCHoklch(47.29% 0.193 292)
XYZxyz(15.6833, 9.2092, 48.5184)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339BC #92BC39
analogous
#3950BC #6339BC #A439BC
triadic
#6339BC #BC6339 #39BC63
tetradic
#6339BC #BC3950 #92BC39 #39BCA4
square
#6339BC #BC3950 #92BC39 #39BCA4
split-complementary
#6339BC #BCA439 #50BC39
monochromatic
#321D5E #4A2B8D #6339BC #8663D0 #AA92DE

Accessibility & contrast

On white

7.39
#6339BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6339BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339BC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339BC#FFFFFF#000000##FFFFFF
##6339BC1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#475A76
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6339bc;
/* rgb */ color: rgb(99, 57, 188);
/* oklch */ color: oklch(47.3% 0.193 292.0);
Tailwind
colors: {
  custom: {
    50: '#9773d1',
    500: '#6339bc',
    950: '#000000',
  },
}
SCSS
$custom: #6339bc;
$custom-light: #9773d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6339bc",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 259.237,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47288,
    "c": 0.19307,
    "h": 292
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6339BC

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

Preview Lab → · Contrast checker → · Palette generator →

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