#6139CC#6139CC

#6139CC is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.212 H 288.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6139CC
RGBrgb(97, 57, 204)
HSLhsl(256, 59%, 51%)
HSVhsv(256, 72%, 80%)
CMYKcmyk(52.5%, 72.1%, 0%, 20%)
CIE-LABlab(37.53, 52.57, -69.93)
CIE-LCHlch(37.53, 87.49, 306.94°)
OKLaboklab(48.47% 0.0664 -0.201)
OKLCHoklch(48.47% 0.212 288.3)
XYZxyz(17.2888, 9.8264, 58.1008)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6139CC #A4CC39
analogous
#395ACC #6139CC #AB39CC
triadic
#6139CC #CC6139 #39CC61
tetradic
#6139CC #CC395A #A4CC39 #39CCAB
square
#6139CC #CC395A #A4CC39 #39CCAB
split-complementary
#6139CC #CCAB39 #5ACC39
monochromatic
#331C6E #49299F #6139CC #886AD9 #AF9AE5

Accessibility & contrast

On white

7.08
#6139CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6139CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6139CC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6139CC#FFFFFF#000000##FFFFFF
##6139CC1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#38607F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6139cc;
/* rgb */ color: rgb(97, 57, 204);
/* oklch */ color: oklch(48.5% 0.212 288.3);
Tailwind
colors: {
  custom: {
    50: '#9873dd',
    500: '#6139cc',
    950: '#000000',
  },
}
SCSS
$custom: #6139cc;
$custom-light: #9873dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6139cc",
  "rgb": {
    "r": 97,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 256.327,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.21167,
    "h": 288.3
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#6139CC
secondary
#BFD190
accent
#E246B8
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6139CC

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

Preview Lab → · Contrast checker → · Palette generator →

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