#6131B1#6131B1

#6131B1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.190 H 294.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6131B1
RGBrgb(97, 49, 177)
HSLhsl(263, 57%, 44%)
HSVhsv(263, 72%, 69%)
CMYKcmyk(45.2%, 72.3%, 0%, 30.6%)
CIE-LABlab(33.80, 49.17, -60.16)
CIE-LCHlch(33.80, 77.70, 309.26°)
OKLaboklab(45.12% 0.0793 -0.1723)
OKLCHoklch(45.12% 0.19 294.7)
XYZxyz(13.9617, 7.9120, 42.3780)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131B1 #81B131
analogous
#3141B1 #6131B1 #A131B1
triadic
#6131B1 #B16131 #31B161
tetradic
#6131B1 #B13141 #81B131 #31B1A1
square
#6131B1 #B13141 #81B131 #31B1A1
split-complementary
#6131B1 #B1A131 #41B131
monochromatic
#2C1651 #472481 #6131B1 #8051CF #A380DC

Accessibility & contrast

On white

8.13
#6131B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6131B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6131B1
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6131B1#FFFFFF#000000##FFFFFF
##6131B11.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#4A526E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6131b1;
/* rgb */ color: rgb(97, 49, 177);
/* oklch */ color: oklch(45.1% 0.190 294.7);
Tailwind
colors: {
  custom: {
    50: '#956dc9',
    500: '#6131b1',
    950: '#000000',
  },
}
SCSS
$custom: #6131b1;
$custom-light: #956dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6131b1",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 262.5,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.18966,
    "h": 294.7
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#6131B1
secondary
#A8C579
accent
#E048A7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6131B1

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

Preview Lab → · Contrast checker → · Palette generator →

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