#6F39CC#6F39CC

#6F39CC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.212 H 294.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6F39CC
RGBrgb(111, 57, 204)
HSLhsl(262, 59%, 51%)
HSVhsv(262, 72%, 80%)
CMYKcmyk(45.6%, 72.1%, 0%, 20%)
CIE-LABlab(39.01, 54.80, -67.45)
CIE-LCHlch(39.01, 86.90, 309.10°)
OKLaboklab(49.86% 0.0865 -0.1932)
OKLCHoklch(49.86% 0.212 294.1)
XYZxyz(18.9148, 10.6648, 58.1770)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39CC #96CC39
analogous
#394CCC #6F39CC #B839CC
triadic
#6F39CC #CC6F39 #39CC6F
tetradic
#6F39CC #CC394C #96CC39 #39CCB8
square
#6F39CC #CC394C #96CC39 #39CCB8
split-complementary
#6F39CC #CCB839 #4CCC39
monochromatic
#3A1C6E #54299F #6F39CC #926AD9 #B69AE5

Accessibility & contrast

On white

6.70
#6F39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6F39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F39CC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39CC#FFFFFF#000000##FFFFFF
##6F39CC1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#545F7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f39cc;
/* rgb */ color: rgb(111, 57, 204);
/* oklch */ color: oklch(49.9% 0.212 294.1);
Tailwind
colors: {
  custom: {
    50: '#a074dd',
    500: '#6f39cc',
    950: '#000000',
  },
}
SCSS
$custom: #6f39cc;
$custom-light: #a074dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39cc",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 262.041,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49863,
    "c": 0.21172,
    "h": 294.1
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#6F39CC
secondary
#B9D190
accent
#E246A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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