#6130B5#6130B5

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

Color values

HEX#6130B5
RGBrgb(97, 48, 181)
HSLhsl(262, 58%, 45%)
HSVhsv(262, 73%, 71%)
CMYKcmyk(46.4%, 73.5%, 0%, 29%)
CIE-LABlab(33.96, 50.72, -62.27)
CIE-LCHlch(33.96, 80.31, 309.16°)
OKLaboklab(45.34% 0.0793 -0.1785)
OKLCHoklch(45.34% 0.195 294)
XYZxyz(14.3249, 7.9911, 44.4948)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6130B5 #84B530
analogous
#3042B5 #6130B5 #A330B5
triadic
#6130B5 #B56130 #30B561
tetradic
#6130B5 #B53042 #84B530 #30B5A3
square
#6130B5 #B53042 #84B530 #30B5A3
split-complementary
#6130B5 #B5A330 #42B530
monochromatic
#2D1654 #472385 #6130B5 #8051D1 #A482DE

Accessibility & contrast

On white

8.08
#6130B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6130B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6130B5
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6130B5#FFFFFF#000000##FFFFFF
##6130B51.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)
#0051B9
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#485370
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6130b5;
/* rgb */ color: rgb(97, 48, 181);
/* oklch */ color: oklch(45.3% 0.195 294.0);
Tailwind
colors: {
  custom: {
    50: '#966dcc',
    500: '#6130b5',
    950: '#000000',
  },
}
SCSS
$custom: #6130b5;
$custom-light: #966dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6130b5",
  "rgb": {
    "r": 97,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 262.105,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45339,
    "c": 0.1953,
    "h": 294
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#6130B5
secondary
#ABC77A
accent
#E146A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6130B5

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

Preview Lab → · Contrast checker → · Palette generator →

#6130B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva