#6139CB#6139CB

#6139CB is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.211 H 288.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6139CB
RGBrgb(97, 57, 203)
HSLhsl(256, 58%, 51%)
HSVhsv(256, 72%, 80%)
CMYKcmyk(52.2%, 71.9%, 0%, 20.4%)
CIE-LABlab(37.44, 52.29, -69.49)
CIE-LCHlch(37.44, 86.97, 306.96°)
OKLaboklab(48.38% 0.0667 -0.1997)
OKLCHoklch(48.38% 0.211 288.5)
XYZxyz(17.1692, 9.7786, 57.4711)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6139CB #A3CB39
analogous
#395ACB #6139CB #AA39CB
triadic
#6139CB #CB6139 #39CB61
tetradic
#6139CB #CB395A #A3CB39 #39CBAA
square
#6139CB #CB395A #A3CB39 #39CBAA
split-complementary
#6139CB #CBAA39 #5ACB39
monochromatic
#331D6D #49299D #6139CB #8869D8 #AE9AE4

Accessibility & contrast

On white

7.10
#6139CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6139CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6139CB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6139CB#FFFFFF#000000##FFFFFF
##6139CB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#38607E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6139cb;
/* rgb */ color: rgb(97, 57, 203);
/* oklch */ color: oklch(48.4% 0.211 288.5);
Tailwind
colors: {
  custom: {
    50: '#9873dc',
    500: '#6139cb',
    950: '#000000',
  },
}
SCSS
$custom: #6139cb;
$custom-light: #9873dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6139cb",
  "rgb": {
    "r": 97,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 256.438,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48383,
    "c": 0.21052,
    "h": 288.5
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#6139CB
secondary
#BFD090
accent
#E246B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6139CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6139CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva