#6139C8#6139C8

#6139C8 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.207 H 289.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6139C8
RGBrgb(97, 57, 200)
HSLhsl(257, 57%, 50%)
HSVhsv(257, 72%, 78%)
CMYKcmyk(51.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(37.18, 51.45, -68.17)
CIE-LCHlch(37.18, 85.41, 307.04°)
OKLaboklab(48.12% 0.0673 -0.1958)
OKLCHoklch(48.12% 0.207 289)
XYZxyz(16.8152, 9.6370, 55.6065)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6139C8 #A0C839
analogous
#3958C8 #6139C8 #A839C8
triadic
#6139C8 #C86139 #39C861
tetradic
#6139C8 #C83958 #A0C839 #39C8A8
square
#6139C8 #C83958 #A0C839 #39C8A8
split-complementary
#6139C8 #C8A839 #58C839
monochromatic
#331D69 #4A2B99 #6139C8 #8769D5 #AD99E3

Accessibility & contrast

On white

7.17
#6139C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6139C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6139C8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6139C8#FFFFFF#000000##FFFFFF
##6139C81.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#3B5F7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6139c8;
/* rgb */ color: rgb(97, 57, 200);
/* oklch */ color: oklch(48.1% 0.207 289.0);
Tailwind
colors: {
  custom: {
    50: '#9873da',
    500: '#6139c8',
    950: '#000000',
  },
}
SCSS
$custom: #6139c8;
$custom-light: #9873da;
$custom-dark: #000000;
JSON
{
  "hex": "#6139c8",
  "rgb": {
    "r": 97,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 256.783,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48119,
    "c": 0.20706,
    "h": 289
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#6139C8
secondary
#BCCE8F
accent
#E048B5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #6139C8

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

Preview Lab → · Contrast checker → · Palette generator →

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