#6130AB#6130AB

#6130AB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.184 H 296.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6130AB
RGBrgb(97, 48, 171)
HSLhsl(264, 56%, 43%)
HSVhsv(264, 72%, 67%)
CMYKcmyk(43.3%, 71.9%, 0%, 32.9%)
CIE-LABlab(33.13, 48.07, -57.68)
CIE-LCHlch(33.13, 75.08, 309.80°)
OKLaboklab(44.49% 0.0815 -0.165)
OKLCHoklch(44.49% 0.184 296.3)
XYZxyz(13.3355, 7.5953, 39.2836)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6130AB #7AAB30
analogous
#303DAB #6130AB #9E30AB
triadic
#6130AB #AB6130 #30AB61
tetradic
#6130AB #AB303D #7AAB30 #30AB9E
square
#6130AB #AB303D #7AAB30 #30AB9E
split-complementary
#6130AB #AB9E30 #3DAB30
monochromatic
#2B154B #46237B #6130AB #7F4CCD #A17BDA

Accessibility & contrast

On white

8.34
#6130AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6130AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6130AB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6130AB#FFFFFF#000000##FFFFFF
##6130AB1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#4D4F6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6130ab;
/* rgb */ color: rgb(97, 48, 171);
/* oklch */ color: oklch(44.5% 0.184 296.3);
Tailwind
colors: {
  custom: {
    50: '#946dc5',
    500: '#6130ab',
    950: '#000000',
  },
}
SCSS
$custom: #6130ab;
$custom-light: #946dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6130ab",
  "rgb": {
    "r": 97,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 263.902,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.18401,
    "h": 296.3
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#6130AB
secondary
#A3C374
accent
#DF48A3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6130AB

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

Preview Lab → · Contrast checker → · Palette generator →

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