#6F39C8#6F39C8

#6F39C8 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.207 H 294.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6F39C8
RGBrgb(111, 57, 200)
HSLhsl(263, 57%, 50%)
HSVhsv(263, 72%, 78%)
CMYKcmyk(44.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(38.68, 53.76, -65.66)
CIE-LCHlch(38.68, 84.86, 309.31°)
OKLaboklab(49.53% 0.0874 -0.188)
OKLCHoklch(49.53% 0.207 294.9)
XYZxyz(18.4412, 10.4754, 55.6827)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39C8 #92C839
analogous
#394AC8 #6F39C8 #B639C8
triadic
#6F39C8 #C86F39 #39C86F
tetradic
#6F39C8 #C8394A #92C839 #39C8B6
square
#6F39C8 #C8394A #92C839 #39C8B6
split-complementary
#6F39C8 #C8B639 #4AC839
monochromatic
#3A1D69 #542B99 #6F39C8 #9269D5 #B599E3

Accessibility & contrast

On white

6.78
#6F39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6F39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F39C8
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39C8#FFFFFF#000000##FFFFFF
##6F39C81.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#565E7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6f39c8;
/* rgb */ color: rgb(111, 57, 200);
/* oklch */ color: oklch(49.5% 0.207 294.9);
Tailwind
colors: {
  custom: {
    50: '#a074da',
    500: '#6f39c8',
    950: '#000000',
  },
}
SCSS
$custom: #6f39c8;
$custom-light: #a074da;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39c8",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 262.657,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4953,
    "c": 0.20729,
    "h": 294.9
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#6F39C8
secondary
#B6CE8F
accent
#E048A6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F39C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6F39C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva