#6139CF#6139CF

#6139CF is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.215 H 287.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6139CF
RGBrgb(97, 57, 207)
HSLhsl(256, 61%, 52%)
HSVhsv(256, 72%, 81%)
CMYKcmyk(53.1%, 72.5%, 0%, 18.8%)
CIE-LABlab(37.79, 53.41, -71.24)
CIE-LCHlch(37.79, 89.03, 306.86°)
OKLaboklab(48.74% 0.0658 -0.2048)
OKLCHoklch(48.74% 0.215 287.8)
XYZxyz(17.6521, 9.9718, 60.0140)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6139CF #A7CF39
analogous
#395CCF #6139CF #AC39CF
triadic
#6139CF #CF6139 #39CF61
tetradic
#6139CF #CF395C #A7CF39 #39CFAC
square
#6139CF #CF395C #A7CF39 #39CFAC
split-complementary
#6139CF #CFAC39 #5CCF39
monochromatic
#331C72 #4928A3 #6139CF #886ADB #B09CE7

Accessibility & contrast

On white

7.01
#6139CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6139CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6139CF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6139CF#FFFFFF#000000##FFFFFF
##6139CF1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#356181
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6139cf;
/* rgb */ color: rgb(97, 57, 207);
/* oklch */ color: oklch(48.7% 0.215 287.8);
Tailwind
colors: {
  custom: {
    50: '#9973df',
    500: '#6139cf',
    950: '#000000',
  },
}
SCSS
$custom: #6139cf;
$custom-light: #9973df;
$custom-dark: #000000;
JSON
{
  "hex": "#6139cf",
  "rgb": {
    "r": 97,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 256,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.21512,
    "h": 287.8
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#6139CF
secondary
#C1D391
accent
#E444B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6139CF

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

Preview Lab → · Contrast checker → · Palette generator →

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