#6339B4#6339B4

#6339B4 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.6% C 0.184 H 293.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6339B4
RGBrgb(99, 57, 180)
HSLhsl(260, 52%, 46%)
HSVhsv(260, 68%, 71%)
CMYKcmyk(45%, 68.3%, 0%, 29.4%)
CIE-LABlab(35.74, 46.25, -58.77)
CIE-LCHlch(35.74, 74.78, 308.20°)
OKLaboklab(46.63% 0.0738 -0.1682)
OKLCHoklch(46.63% 0.184 293.7)
XYZxyz(14.8447, 8.8738, 44.1018)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339B4 #8AB439
analogous
#394DB4 #6339B4 #A139B4
triadic
#6339B4 #B46339 #39B463
tetradic
#6339B4 #B4394D #8AB439 #39B4A1
square
#6339B4 #B4394D #8AB439 #39B4A1
split-complementary
#6339B4 #B4A139 #4DB439
monochromatic
#301C57 #492A86 #6339B4 #845ECC #A78DDB

Accessibility & contrast

On white

7.57
#6339B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6339B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339B4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339B4#FFFFFF#000000##FFFFFF
##6339B41.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#4C5772
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6339b4;
/* rgb */ color: rgb(99, 57, 180);
/* oklch */ color: oklch(46.6% 0.184 293.7);
Tailwind
colors: {
  custom: {
    50: '#9672cb',
    500: '#6339b4',
    950: '#000000',
  },
}
SCSS
$custom: #6339b4;
$custom-light: #9672cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6339b4",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 260.488,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46628,
    "c": 0.18365,
    "h": 293.7
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#6339B4
secondary
#AFC583
accent
#DB4CAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6339B4

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

Preview Lab → · Contrast checker → · Palette generator →

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