#6139DC#6139DC

#6139DC is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.230 H 285.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6139DC
RGBrgb(97, 57, 220)
HSLhsl(255, 70%, 54%)
HSVhsv(255, 74%, 86%)
CMYKcmyk(55.9%, 74.1%, 0%, 13.7%)
CIE-LABlab(38.96, 57.04, -76.81)
CIE-LCHlch(38.96, 95.67, 306.60°)
OKLaboklab(49.91% 0.0627 -0.2211)
OKLCHoklch(49.91% 0.23 285.8)
XYZxyz(19.3073, 10.6338, 68.7314)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6139DC #B4DC39
analogous
#3963DC #6139DC #B339DC
triadic
#6139DC #DC6139 #39DC61
tetradic
#6139DC #DC3963 #B4DC39 #39DCB3
square
#6139DC #DC3963 #B4DC39 #39DCB3
split-complementary
#6139DC #DCB339 #63DC39
monochromatic
#321783 #4520B7 #6139DC #8B6DE5 #B4A1EE

Accessibility & contrast

On white

6.72
#6139DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6139DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6139DC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6139DC#FFFFFF#000000##FFFFFF
##6139DC1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#266788
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6139dc;
/* rgb */ color: rgb(97, 57, 220);
/* oklch */ color: oklch(49.9% 0.230 285.8);
Tailwind
colors: {
  custom: {
    50: '#9b74e8',
    500: '#6139dc',
    950: '#000000',
  },
}
SCSS
$custom: #6139dc;
$custom-light: #9b74e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6139dc",
  "rgb": {
    "r": 97,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 254.724,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.22987,
    "h": 285.8
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#6139DC
secondary
#CADB96
accent
#ED3BC1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #6139DC

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

Preview Lab → · Contrast checker → · Palette generator →

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