#6F39C5#6F39C5

#6F39C5 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.204 H 295.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6F39C5
RGBrgb(111, 57, 197)
HSLhsl(263, 55%, 50%)
HSVhsv(263, 71%, 77%)
CMYKcmyk(43.7%, 71.1%, 0%, 22.7%)
CIE-LABlab(38.44, 52.98, -64.31)
CIE-LCHlch(38.44, 83.32, 309.48°)
OKLaboklab(49.28% 0.088 -0.184)
OKLCHoklch(49.28% 0.204 295.5)
XYZxyz(18.0940, 10.3365, 53.8543)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39C5 #8FC539
analogous
#3949C5 #6F39C5 #B539C5
triadic
#6F39C5 #C56F39 #39C56F
tetradic
#6F39C5 #C53949 #8FC539 #39C5B5
square
#6F39C5 #C53949 #8FC539 #39C5B5
split-complementary
#6F39C5 #C5B539 #49C539
monochromatic
#3A1E66 #542B96 #6F39C5 #9168D3 #B497E1

Accessibility & contrast

On white

6.85
#6F39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6F39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F39C5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39C5#FFFFFF#000000##FFFFFF
##6F39C51.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#585C7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6f39c5;
/* rgb */ color: rgb(111, 57, 197);
/* oklch */ color: oklch(49.3% 0.204 295.5);
Tailwind
colors: {
  custom: {
    50: '#a074d8',
    500: '#6f39c5',
    950: '#000000',
  },
}
SCSS
$custom: #6f39c5;
$custom-light: #a074d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39c5",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 263.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.20395,
    "h": 295.5
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#6F39C5
secondary
#B4CD8D
accent
#DE49A5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6F39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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