#6339AF#6339AF

#6339AF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.2% C 0.178 H 294.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6339AF
RGBrgb(99, 57, 175)
HSLhsl(261, 51%, 45%)
HSVhsv(261, 67%, 69%)
CMYKcmyk(43.4%, 67.4%, 0%, 31.4%)
CIE-LABlab(35.35, 44.88, -56.44)
CIE-LCHlch(35.35, 72.11, 308.49°)
OKLaboklab(46.22% 0.0746 -0.1613)
OKLCHoklch(46.22% 0.178 294.8)
XYZxyz(14.3445, 8.6737, 41.4675)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339AF #85AF39
analogous
#394AAF #6339AF #9E39AF
triadic
#6339AF #AF6339 #39AF63
tetradic
#6339AF #AF394A #85AF39 #39AF9E
square
#6339AF #AF394A #85AF39 #39AF9E
split-complementary
#6339AF #AF9E39 #4AAF39
monochromatic
#2F1B53 #492A81 #6339AF #835BCA #A68AD9

Accessibility & contrast

On white

7.68
#6339AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6339AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339AF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339AF#FFFFFF#000000##FFFFFF
##6339AF1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#4E556F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6339af;
/* rgb */ color: rgb(99, 57, 175);
/* oklch */ color: oklch(46.2% 0.178 294.8);
Tailwind
colors: {
  custom: {
    50: '#9672c8',
    500: '#6339af',
    950: '#000000',
  },
}
SCSS
$custom: #6339af;
$custom-light: #9672c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6339af",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 261.356,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.1777,
    "h": 294.8
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#6339AF
secondary
#ABC381
accent
#DA4DA8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6339AF

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

Preview Lab → · Contrast checker → · Palette generator →

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