#6339AC#6339AC

#6339AC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.174 H 295.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6339AC
RGBrgb(99, 57, 172)
HSLhsl(262, 50%, 45%)
HSVhsv(262, 67%, 67%)
CMYKcmyk(42.4%, 66.9%, 0%, 32.5%)
CIE-LABlab(35.12, 44.06, -55.03)
CIE-LCHlch(35.12, 70.49, 308.68°)
OKLaboklab(45.99% 0.075 -0.1572)
OKLCHoklch(45.99% 0.174 295.5)
XYZxyz(14.0531, 8.5571, 39.9330)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339AC #82AC39
analogous
#3949AC #6339AC #9C39AC
triadic
#6339AC #AC6339 #39AC63
tetradic
#6339AC #AC3949 #82AC39 #39AC9C
square
#6339AC #AC3949 #82AC39 #39AC9C
split-complementary
#6339AC #AC9C39 #49AC39
monochromatic
#2E1B50 #492A7E #6339AC #825AC8 #A588D8

Accessibility & contrast

On white

7.75
#6339AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6339AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339AC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339AC#FFFFFF#000000##FFFFFF
##6339AC1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#50546D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6339ac;
/* rgb */ color: rgb(99, 57, 172);
/* oklch */ color: oklch(46.0% 0.174 295.5);
Tailwind
colors: {
  custom: {
    50: '#9572c6',
    500: '#6339ac',
    950: '#000000',
  },
}
SCSS
$custom: #6339ac;
$custom-light: #9572c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6339ac",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 261.913,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.17411,
    "h": 295.5
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#6339AC
secondary
#A9C27F
accent
#DA4EA7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6339AC

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

Preview Lab → · Contrast checker → · Palette generator →

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