#6131BC#6131BC

#6131BC is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.202 H 292.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6131BC
RGBrgb(97, 49, 188)
HSLhsl(261, 59%, 46%)
HSVhsv(261, 74%, 74%)
CMYKcmyk(48.4%, 73.9%, 0%, 26.3%)
CIE-LABlab(34.74, 52.12, -65.14)
CIE-LCHlch(34.74, 83.42, 308.66°)
OKLaboklab(46.07% 0.0768 -0.1869)
OKLCHoklch(46.07% 0.202 292.3)
XYZxyz(15.1026, 8.3683, 48.3867)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131BC #8CBC31
analogous
#3147BC #6131BC #A731BC
triadic
#6131BC #BC6131 #31BC61
tetradic
#6131BC #BC3147 #8CBC31 #31BCA7
square
#6131BC #BC3147 #8CBC31 #31BCA7
split-complementary
#6131BC #BCA731 #47BC31
monochromatic
#2F185B #48248B #6131BC #8257D3 #A688E0

Accessibility & contrast

On white

7.85
#6131BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6131BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6131BC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6131BC#FFFFFF#000000##FFFFFF
##6131BC1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#445674
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6131bc;
/* rgb */ color: rgb(97, 49, 188);
/* oklch */ color: oklch(46.1% 0.202 292.3);
Tailwind
colors: {
  custom: {
    50: '#976ed1',
    500: '#6131bc',
    950: '#000000',
  },
}
SCSS
$custom: #6131bc;
$custom-light: #976ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6131bc",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 260.719,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46071,
    "c": 0.20206,
    "h": 292.3
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#6131BC
secondary
#B0CA7F
accent
#E246AC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #6131BC

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

Preview Lab → · Contrast checker → · Palette generator →

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