#6339C2#6339C2

#6339C2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.8% C 0.200 H 290.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6339C2
RGBrgb(99, 57, 194)
HSLhsl(258, 55%, 49%)
HSVhsv(258, 71%, 76%)
CMYKcmyk(49%, 70.6%, 0%, 23.9%)
CIE-LABlab(36.88, 50.11, -65.15)
CIE-LCHlch(36.88, 82.19, 307.56°)
OKLaboklab(47.8% 0.0714 -0.1869)
OKLCHoklch(47.8% 0.2 290.9)
XYZxyz(16.3436, 9.4733, 51.9959)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339C2 #98C239
analogous
#3954C2 #6339C2 #A839C2
triadic
#6339C2 #C26339 #39C263
tetradic
#6339C2 #C23954 #98C239 #39C2A8
square
#6339C2 #C23954 #98C239 #39C2A8
split-complementary
#6339C2 #C2A839 #54C239
monochromatic
#331D63 #4B2B93 #6339C2 #8766D2 #AC95E0

Accessibility & contrast

On white

7.25
#6339C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6339C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339C2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339C2#FFFFFF#000000##FFFFFF
##6339C21.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#445C79
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6339c2;
/* rgb */ color: rgb(99, 57, 194);
/* oklch */ color: oklch(47.8% 0.200 290.9);
Tailwind
colors: {
  custom: {
    50: '#9873d5',
    500: '#6339c2',
    950: '#000000',
  },
}
SCSS
$custom: #6339c2;
$custom-light: #9873d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6339c2",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 258.394,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47796,
    "c": 0.20007,
    "h": 290.9
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#6339C2
secondary
#B8CB8B
accent
#DE4AB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6339C2

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

Preview Lab → · Contrast checker → · Palette generator →

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