#6F39CA#6F39CA

#6F39CA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.210 H 294.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6F39CA
RGBrgb(111, 57, 202)
HSLhsl(262, 58%, 51%)
HSVhsv(262, 72%, 79%)
CMYKcmyk(45%, 71.8%, 0%, 20.8%)
CIE-LABlab(38.85, 54.28, -66.55)
CIE-LCHlch(38.85, 85.88, 309.20°)
OKLaboklab(49.7% 0.087 -0.1906)
OKLCHoklch(49.7% 0.21 294.5)
XYZxyz(18.6764, 10.5695, 56.9218)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39CA #94CA39
analogous
#394BCA #6F39CA #B839CA
triadic
#6F39CA #CA6F39 #39CA6F
tetradic
#6F39CA #CA394B #94CA39 #39CAB8
square
#6F39CA #CA394B #94CA39 #39CAB8
split-complementary
#6F39CA #CAB839 #4BCA39
monochromatic
#3A1D6C #542A9C #6F39CA #9269D7 #B59AE4

Accessibility & contrast

On white

6.74
#6F39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6F39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F39CA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39CA#FFFFFF#000000##FFFFFF
##6F39CA1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#555E7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6f39ca;
/* rgb */ color: rgb(111, 57, 202);
/* oklch */ color: oklch(49.7% 0.210 294.5);
Tailwind
colors: {
  custom: {
    50: '#a074db',
    500: '#6f39ca',
    950: '#000000',
  },
}
SCSS
$custom: #6f39ca;
$custom-light: #a074db;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39ca",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 262.345,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49696,
    "c": 0.20951,
    "h": 294.5
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#6F39CA
secondary
#B8D08F
accent
#E147A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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