#6339B3#6339B3

#6339B3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.182 H 293.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6339B3
RGBrgb(99, 57, 179)
HSLhsl(261, 52%, 46%)
HSVhsv(261, 68%, 70%)
CMYKcmyk(44.7%, 68.2%, 0%, 29.8%)
CIE-LABlab(35.66, 45.97, -58.31)
CIE-LCHlch(35.66, 74.25, 308.25°)
OKLaboklab(46.55% 0.074 -0.1668)
OKLCHoklch(46.55% 0.182 293.9)
XYZxyz(14.7432, 8.8332, 43.5673)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339B3 #89B339
analogous
#394CB3 #6339B3 #A039B3
triadic
#6339B3 #B36339 #39B363
tetradic
#6339B3 #B3394C #89B339 #39B3A0
square
#6339B3 #B3394C #89B339 #39B3A0
split-complementary
#6339B3 #B3A039 #4CB339
monochromatic
#301B56 #492A85 #6339B3 #835ECC #A78CDA

Accessibility & contrast

On white

7.59
#6339B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6339B3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339B3#FFFFFF#000000##FFFFFF
##6339B31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#4C5771
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6339b3;
/* rgb */ color: rgb(99, 57, 179);
/* oklch */ color: oklch(46.5% 0.182 293.9);
Tailwind
colors: {
  custom: {
    50: '#9672cb',
    500: '#6339b3',
    950: '#000000',
  },
}
SCSS
$custom: #6339b3;
$custom-light: #9672cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6339b3",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 260.656,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46546,
    "c": 0.18246,
    "h": 293.9
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#6339B3
secondary
#AEC583
accent
#DB4DAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6339B3

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

Preview Lab → · Contrast checker → · Palette generator →

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