#6139CE#6139CE

#6139CE is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.6% C 0.214 H 288.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6139CE
RGBrgb(97, 57, 206)
HSLhsl(256, 60%, 52%)
HSVhsv(256, 72%, 81%)
CMYKcmyk(52.9%, 72.3%, 0%, 19.2%)
CIE-LABlab(37.70, 53.13, -70.80)
CIE-LCHlch(37.70, 88.52, 306.88°)
OKLaboklab(48.65% 0.066 -0.2035)
OKLCHoklch(48.65% 0.214 288)
XYZxyz(17.5302, 9.9230, 59.3722)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6139CE #A6CE39
analogous
#395CCE #6139CE #AB39CE
triadic
#6139CE #CE6139 #39CE61
tetradic
#6139CE #CE395C #A6CE39 #39CEAB
square
#6139CE #CE395C #A6CE39 #39CEAB
split-complementary
#6139CE #CEAB39 #5CCE39
monochromatic
#331C71 #4928A2 #6139CE #886ADA #AF9BE6

Accessibility & contrast

On white

7.04
#6139CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6139CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6139CE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6139CE#FFFFFF#000000##FFFFFF
##6139CE1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#366180
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6139ce;
/* rgb */ color: rgb(97, 57, 206);
/* oklch */ color: oklch(48.6% 0.214 288.0);
Tailwind
colors: {
  custom: {
    50: '#9873de',
    500: '#6139ce',
    950: '#000000',
  },
}
SCSS
$custom: #6139ce;
$custom-light: #9873de;
$custom-dark: #000000;
JSON
{
  "hex": "#6139ce",
  "rgb": {
    "r": 97,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 256.107,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.21397,
    "h": 288
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#6139CE
secondary
#C1D291
accent
#E344B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6139CE

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

Preview Lab → · Contrast checker → · Palette generator →

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