#6131B4#6131B4

#6131B4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.193 H 294.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6131B4
RGBrgb(97, 49, 180)
HSLhsl(262, 57%, 45%)
HSVhsv(262, 73%, 71%)
CMYKcmyk(46.1%, 72.8%, 0%, 29.4%)
CIE-LABlab(34.05, 49.97, -61.53)
CIE-LCHlch(34.05, 79.27, 309.08°)
OKLaboklab(45.37% 0.0786 -0.1763)
OKLCHoklch(45.37% 0.193 294)
XYZxyz(14.2640, 8.0329, 43.9701)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131B4 #84B431
analogous
#3142B4 #6131B4 #A331B4
triadic
#6131B4 #B46131 #31B461
tetradic
#6131B4 #B43142 #84B431 #31B4A3
square
#6131B4 #B43142 #84B431 #31B4A3
split-complementary
#6131B4 #B4A331 #42B431
monochromatic
#2D1754 #472484 #6131B4 #8052D0 #A482DD

Accessibility & contrast

On white

8.06
#6131B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6131B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6131B4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6131B4#FFFFFF#000000##FFFFFF
##6131B41.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#495370
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6131b4;
/* rgb */ color: rgb(97, 49, 180);
/* oklch */ color: oklch(45.4% 0.193 294.0);
Tailwind
colors: {
  custom: {
    50: '#956ecb',
    500: '#6131b4',
    950: '#000000',
  },
}
SCSS
$custom: #6131b4;
$custom-light: #956ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6131b4",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 261.985,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.19305,
    "h": 294
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#6131B4
secondary
#ABC67B
accent
#E047A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6131B4

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

Preview Lab → · Contrast checker → · Palette generator →

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