#6F39B4#6F39B4

#6F39B4 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.185 H 299.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6F39B4
RGBrgb(111, 57, 180)
HSLhsl(266, 52%, 46%)
HSVhsv(266, 68%, 71%)
CMYKcmyk(38.3%, 68.3%, 0%, 29.4%)
CIE-LABlab(37.12, 48.59, -56.47)
CIE-LCHlch(37.12, 74.50, 310.71°)
OKLaboklab(47.93% 0.0909 -0.161)
OKLCHoklch(47.93% 0.185 299.4)
XYZxyz(16.2548, 9.6009, 44.1679)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39B4 #7EB439
analogous
#3941B4 #6F39B4 #AD39B4
triadic
#6F39B4 #B46F39 #39B46F
tetradic
#6F39B4 #B43941 #7EB439 #39B4AD
square
#6F39B4 #B43941 #7EB439 #39B4AD
split-complementary
#6F39B4 #B4AD39 #41B439
monochromatic
#361C57 #522A86 #6F39B4 #8E5ECC #AF8DDB

Accessibility & contrast

On white

7.19
#6F39B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6F39B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F39B4
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39B4#FFFFFF#000000##FFFFFF
##6F39B41.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#5F5672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f39b4;
/* rgb */ color: rgb(111, 57, 180);
/* oklch */ color: oklch(47.9% 0.185 299.4);
Tailwind
colors: {
  custom: {
    50: '#9e73cb',
    500: '#6f39b4',
    950: '#000000',
  },
}
SCSS
$custom: #6f39b4;
$custom-light: #9e73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39b4",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 266.341,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47925,
    "c": 0.18485,
    "h": 299.4
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#6F39B4
secondary
#A8C583
accent
#DB4C9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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