#6F39DC#6F39DC

#6F39DC is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.229 H 291.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6F39DC
RGBrgb(111, 57, 220)
HSLhsl(260, 70%, 54%)
HSVhsv(260, 74%, 86%)
CMYKcmyk(49.5%, 74.1%, 0%, 13.7%)
CIE-LABlab(40.36, 59.00, -74.45)
CIE-LCHlch(40.36, 94.99, 308.40°)
OKLaboklab(51.24% 0.0828 -0.2138)
OKLCHoklch(51.24% 0.229 291.2)
XYZxyz(20.9333, 11.4722, 68.8077)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39DC #A6DC39
analogous
#3955DC #6F39DC #C039DC
triadic
#6F39DC #DC6F39 #39DC6F
tetradic
#6F39DC #DC3955 #A6DC39 #39DCC0
square
#6F39DC #DC3955 #A6DC39 #39DCC0
split-complementary
#6F39DC #DCC039 #55DC39
monochromatic
#3B1783 #5220B7 #6F39DC #956DE5 #BBA1EE

Accessibility & contrast

On white

6.37
#6F39DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6F39DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F39DC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39DC#FFFFFF#000000##FFFFFF
##6F39DC1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#4A6588
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f39dc;
/* rgb */ color: rgb(111, 57, 220);
/* oklch */ color: oklch(51.2% 0.229 291.2);
Tailwind
colors: {
  custom: {
    50: '#a275e8',
    500: '#6f39dc',
    950: '#000000',
  },
}
SCSS
$custom: #6f39dc;
$custom-light: #a275e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39dc",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 259.877,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51236,
    "c": 0.22926,
    "h": 291.2
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#6F39DC
secondary
#C4DB96
accent
#ED3BB2
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6F39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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