#6131D0#6131D0

#6131D0 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.224 H 288.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6131D0
RGBrgb(97, 49, 208)
HSLhsl(258, 63%, 50%)
HSVhsv(258, 76%, 82%)
CMYKcmyk(53.4%, 76.4%, 0%, 18.4%)
CIE-LABlab(36.54, 57.50, -73.87)
CIE-LCHlch(36.54, 93.61, 307.89°)
OKLaboklab(47.88% 0.0716 -0.2125)
OKLCHoklch(47.88% 0.224 288.6)
XYZxyz(17.4099, 9.2912, 60.5383)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131D0 #A0D031
analogous
#3150D0 #6131D0 #B031D0
triadic
#6131D0 #D06131 #31D061
tetradic
#6131D0 #D03150 #A0D031 #31D0B0
square
#6131D0 #D03150 #A0D031 #31D0B0
split-complementary
#6131D0 #D0B031 #50D031
monochromatic
#33196E #4A249F #6131D0 #8763DB #AD95E7

Accessibility & contrast

On white

7.35
#6131D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6131D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6131D0
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6131D0#FFFFFF#000000##FFFFFF
##6131D01.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D4
Deuteranopia (green-blind)
#0052CD
Tritanopia (blue-blind)
#345E7F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6131d0;
/* rgb */ color: rgb(97, 49, 208);
/* oklch */ color: oklch(47.9% 0.224 288.6);
Tailwind
colors: {
  custom: {
    50: '#996fe0',
    500: '#6131d0',
    950: '#000000',
  },
}
SCSS
$custom: #6131d0;
$custom-light: #996fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#6131d0",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 258.113,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.22421,
    "h": 288.6
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#6131D0
secondary
#BCD28B
accent
#E642B4
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6131D0

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

Preview Lab → · Contrast checker → · Palette generator →

#6131D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva