#6F39DB#6F39DB

#6F39DB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.228 H 291.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6F39DB
RGBrgb(111, 57, 219)
HSLhsl(260, 69%, 54%)
HSVhsv(260, 74%, 86%)
CMYKcmyk(49.3%, 74%, 0%, 14.1%)
CIE-LABlab(40.28, 58.74, -74.02)
CIE-LCHlch(40.28, 94.49, 308.43°)
OKLaboklab(51.15% 0.0831 -0.2125)
OKLCHoklch(51.15% 0.228 291.4)
XYZxyz(20.8012, 11.4194, 68.1123)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39DB #A5DB39
analogous
#3954DB #6F39DB #C039DB
triadic
#6F39DB #DB6F39 #39DB6F
tetradic
#6F39DB #DB3954 #A5DB39 #39DBC0
square
#6F39DB #DB3954 #A5DB39 #39DBC0
split-complementary
#6F39DB #DBC039 #54DB39
monochromatic
#3B1882 #5321B6 #6F39DB #956DE4 #BAA1EE

Accessibility & contrast

On white

6.39
#6F39DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6F39DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F39DB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39DB#FFFFFF#000000##FFFFFF
##6F39DB1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#4B6588
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f39db;
/* rgb */ color: rgb(111, 57, 219);
/* oklch */ color: oklch(51.1% 0.228 291.4);
Tailwind
colors: {
  custom: {
    50: '#a275e7',
    500: '#6f39db',
    950: '#000000',
  },
}
SCSS
$custom: #6f39db;
$custom-light: #a275e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39db",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 219
  },
  "hsl": {
    "h": 260,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.22817,
    "h": 291.4
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#6F39DB
secondary
#C3DA95
accent
#EC3CB1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6F39DB

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

Preview Lab → · Contrast checker → · Palette generator →

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