#6339F2#6339F2

#6339F2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.254 H 283.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6339F2
RGBrgb(99, 57, 242)
HSLhsl(254, 88%, 59%)
HSVhsv(254, 76%, 95%)
CMYKcmyk(59.1%, 76.4%, 0%, 5.1%)
CIE-LABlab(41.20, 63.36, -85.62)
CIE-LCHlch(41.20, 106.51, 306.50°)
OKLaboklab(52.15% 0.0599 -0.2468)
OKLCHoklch(52.15% 0.254 283.6)
XYZxyz(22.6308, 11.9882, 85.1086)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6339F2 #C8F239
analogous
#396BF2 #6339F2 #C039F2
triadic
#6339F2 #F26339 #39F263
tetradic
#6339F2 #F2396B #C8F239 #39F2C0
square
#6339F2 #F2396B #C8F239 #39F2C0
split-complementary
#6339F2 #F2C039 #6BF239
monochromatic
#2E0BA6 #3E0FDF #6339F2 #9072F6 #BDACFA

Accessibility & contrast

On white

6.18
#6339F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6339F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6339F2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6339F2#FFFFFF#000000##FFFFFF
##6339F21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067F7
Deuteranopia (green-blind)
#005BEF
Tritanopia (blue-blind)
#006F95
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6339f2;
/* rgb */ color: rgb(99, 57, 242);
/* oklch */ color: oklch(52.1% 0.254 283.6);
Tailwind
colors: {
  custom: {
    50: '#9f75f8',
    500: '#6339f2',
    950: '#000000',
  },
}
SCSS
$custom: #6339f2;
$custom-light: #9f75f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6339f2",
  "rgb": {
    "r": 99,
    "g": 57,
    "b": 242
  },
  "hsl": {
    "h": 253.622,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.25397,
    "h": 283.6
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#6339F2
secondary
#D7E89F
accent
#FE2ACE
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6339F2

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

Preview Lab → · Contrast checker → · Palette generator →

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