#6B139F#6B139F

#6B139F is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.0% C 0.201 H 307.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#6B139F
RGBrgb(107, 19, 159)
HSLhsl(278, 79%, 35%)
HSVhsv(278, 88%, 62%)
CMYKcmyk(32.7%, 88.1%, 0%, 37.6%)
CIE-LABlab(29.65, 57.86, -56.05)
CIE-LCHlch(29.65, 80.56, 315.91°)
OKLaboklab(42.03% 0.1223 -0.1596)
OKLCHoklch(42.03% 0.201 307.5)
XYZxyz(12.5529, 6.0949, 33.3093)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B139F #479F13
analogous
#25139F #6B139F #9F138D
triadic
#6B139F #9F6B13 #139F6B
tetradic
#6B139F #9F2513 #479F13 #138D9F
square
#6B139F #9F2513 #479F13 #138D9F
split-complementary
#6B139F #8D9F13 #139F25
monochromatic
#210632 #460C68 #6B139F #901AD6 #AB44E9

Accessibility & contrast

On white

9.46
#6B139F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6B139F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B139F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B139F#FFFFFF#000000##FFFFFF
##6B139F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#623C5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b139f;
/* rgb */ color: rgb(107, 19, 159);
/* oklch */ color: oklch(42.0% 0.201 307.5);
Tailwind
colors: {
  custom: {
    50: '#9b60bc',
    500: '#6b139f',
    950: '#000000',
  },
}
SCSS
$custom: #6b139f;
$custom-light: #9b60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b139f",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 159
  },
  "hsl": {
    "h": 277.714,
    "s": 78.652,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42031,
    "c": 0.20112,
    "h": 307.5
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#6B139F
secondary
#76C945
accent
#F5337B
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0512
muted
#7F7A81

Preview Lab

Preview with #6B139F

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

Preview Lab → · Contrast checker → · Palette generator →

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