#6131B2#6131B2

#6131B2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.191 H 294.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6131B2
RGBrgb(97, 49, 178)
HSLhsl(262, 57%, 45%)
HSVhsv(262, 72%, 70%)
CMYKcmyk(45.5%, 72.5%, 0%, 30.2%)
CIE-LABlab(33.88, 49.43, -60.62)
CIE-LCHlch(33.88, 78.22, 309.20°)
OKLaboklab(45.2% 0.0791 -0.1736)
OKLCHoklch(45.2% 0.191 294.5)
XYZxyz(14.0618, 7.9520, 42.9048)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131B2 #82B231
analogous
#3141B2 #6131B2 #A231B2
triadic
#6131B2 #B26131 #31B261
tetradic
#6131B2 #B23141 #82B231 #31B2A2
square
#6131B2 #B23141 #82B231 #31B2A2
split-complementary
#6131B2 #B2A231 #41B231
monochromatic
#2D1752 #472482 #6131B2 #8051CF #A381DC

Accessibility & contrast

On white

8.11
#6131B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6131B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6131B2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6131B2#FFFFFF#000000##FFFFFF
##6131B21.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#4A526E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6131b2;
/* rgb */ color: rgb(97, 49, 178);
/* oklch */ color: oklch(45.2% 0.191 294.5);
Tailwind
colors: {
  custom: {
    50: '#956dca',
    500: '#6131b2',
    950: '#000000',
  },
}
SCSS
$custom: #6131b2;
$custom-light: #956dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6131b2",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 262.326,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.19079,
    "h": 294.5
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6131B2

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

Preview Lab → · Contrast checker → · Palette generator →

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