#6137BA#6137BA

#6137BA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.193 H 291.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6137BA
RGBrgb(97, 55, 186)
HSLhsl(259, 54%, 47%)
HSVhsv(259, 70%, 73%)
CMYKcmyk(47.8%, 70.4%, 0%, 27.1%)
CIE-LABlab(35.63, 48.58, -62.50)
CIE-LCHlch(35.63, 79.16, 307.86°)
OKLaboklab(46.65% 0.0719 -0.1792)
OKLCHoklch(46.65% 0.193 291.9)
XYZxyz(15.1564, 8.8184, 47.3484)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6137BA #90BA37
analogous
#374EBA #6137BA #A337BA
triadic
#6137BA #BA6137 #37BA61
tetradic
#6137BA #BA374E #90BA37 #37BAA3
square
#6137BA #BA374E #90BA37 #37BAA3
split-complementary
#6137BA #BAA337 #4EBA37
monochromatic
#301B5C #48298B #6137BA #835FD0 #A78EDE

Accessibility & contrast

On white

7.60
#6137BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6137BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6137BA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6137BA#FFFFFF#000000##FFFFFF
##6137BA1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#455874
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6137ba;
/* rgb */ color: rgb(97, 55, 186);
/* oklch */ color: oklch(46.7% 0.193 291.9);
Tailwind
colors: {
  custom: {
    50: '#9671d0',
    500: '#6137ba',
    950: '#000000',
  },
}
SCSS
$custom: #6137ba;
$custom-light: #9671d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6137ba",
  "rgb": {
    "r": 97,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 259.237,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46652,
    "c": 0.19306,
    "h": 291.9
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#6137BA
secondary
#B2C885
accent
#DE4AAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6137BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6137BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva