#6137CC#6137CC

#6137CC is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.214 H 288.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6137CC
RGBrgb(97, 55, 204)
HSLhsl(257, 59%, 51%)
HSVhsv(257, 73%, 80%)
CMYKcmyk(52.5%, 73%, 0%, 20%)
CIE-LABlab(37.17, 53.57, -70.51)
CIE-LCHlch(37.17, 88.55, 307.22°)
OKLaboklab(48.22% 0.0681 -0.2027)
OKLCHoklch(48.22% 0.214 288.6)
XYZxyz(17.1918, 9.6326, 58.0684)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6137CC #A2CC37
analogous
#3757CC #6137CC #AC37CC
triadic
#6137CC #CC6137 #37CC61
tetradic
#6137CC #CC3757 #A2CC37 #37CCAC
square
#6137CC #CC3757 #A2CC37 #37CCAC
split-complementary
#6137CC #CCAC37 #57CC37
monochromatic
#331C6D #49289E #6137CC #8868D8 #AE99E5

Accessibility & contrast

On white

7.18
#6137CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6137CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6137CC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6137CC#FFFFFF#000000##FFFFFF
##6137CC1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#385F7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6137cc;
/* rgb */ color: rgb(97, 55, 204);
/* oklch */ color: oklch(48.2% 0.214 288.6);
Tailwind
colors: {
  custom: {
    50: '#9872dd',
    500: '#6137cc',
    950: '#000000',
  },
}
SCSS
$custom: #6137cc;
$custom-light: #9872dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6137cc",
  "rgb": {
    "r": 97,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 256.913,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.21379,
    "h": 288.6
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#6137CC
secondary
#BED08E
accent
#E345B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6137CC

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

Preview Lab → · Contrast checker → · Palette generator →

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