#6339BE#6339BE

#6339BE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.195 H 291.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6339BE
RGBrgb(99, 57, 190)
HSLhsl(259, 54%, 48%)
HSVhsv(259, 70%, 75%)
CMYKcmyk(47.9%, 70%, 0%, 25.5%)
CIE-LABlab(36.55, 49.00, -63.35)
CIE-LCHlch(36.55, 80.09, 307.72°)
OKLaboklab(47.46% 0.0721 -0.1816)
OKLCHoklch(47.46% 0.195 291.7)
XYZxyz(15.9004, 9.2960, 49.6617)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339BE #94BE39
analogous
#3952BE #6339BE #A539BE
triadic
#6339BE #BE6339 #39BE63
tetradic
#6339BE #BE3952 #94BE39 #39BEA5
square
#6339BE #BE3952 #94BE39 #39BEA5
split-complementary
#6339BE #BEA539 #52BE39
monochromatic
#321D60 #4A2B8F #6339BE #8664D0 #AB93DF

Accessibility & contrast

On white

7.34
#6339BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6339BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6339BE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339BE#FFFFFF#000000##FFFFFF
##6339BE1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#465B77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6339be;
/* rgb */ color: rgb(99, 57, 190);
/* oklch */ color: oklch(47.5% 0.195 291.7);
Tailwind
colors: {
  custom: {
    50: '#9773d3',
    500: '#6339be',
    950: '#000000',
  },
}
SCSS
$custom: #6339be;
$custom-light: #9773d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6339be",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 258.947,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47456,
    "c": 0.19542,
    "h": 291.7
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

primary
#6339BE
secondary
#B5CA89
accent
#DD4BAF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6339BE

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

Preview Lab → · Contrast checker → · Palette generator →

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