#6131B3#6131B3

#6131B3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.192 H 294.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6131B3
RGBrgb(97, 49, 179)
HSLhsl(262, 57%, 45%)
HSVhsv(262, 73%, 70%)
CMYKcmyk(45.8%, 72.6%, 0%, 29.8%)
CIE-LABlab(33.97, 49.70, -61.08)
CIE-LCHlch(33.97, 78.75, 309.14°)
OKLaboklab(45.29% 0.0789 -0.175)
OKLCHoklch(45.29% 0.192 294.3)
XYZxyz(14.1625, 7.9923, 43.4356)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6131B3 #83B331
analogous
#3142B3 #6131B3 #A231B3
triadic
#6131B3 #B36131 #31B361
tetradic
#6131B3 #B33142 #83B331 #31B3A2
square
#6131B3 #B33142 #83B331 #31B3A2
split-complementary
#6131B3 #B3A231 #42B331
monochromatic
#2D1753 #472483 #6131B3 #8052D0 #A382DD

Accessibility & contrast

On white

8.08
#6131B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6131B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6131B3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6131B3#FFFFFF#000000##FFFFFF
##6131B31.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#49536F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6131b3;
/* rgb */ color: rgb(97, 49, 179);
/* oklch */ color: oklch(45.3% 0.192 294.3);
Tailwind
colors: {
  custom: {
    50: '#956dcb',
    500: '#6131b3',
    950: '#000000',
  },
}
SCSS
$custom: #6131b3;
$custom-light: #956dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6131b3",
  "rgb": {
    "r": 97,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 262.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.19192,
    "h": 294.3
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#6131B3
secondary
#AAC67A
accent
#E048A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6131B3

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

Preview Lab → · Contrast checker → · Palette generator →

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