#6130A2#6130A2

#6130A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.174 H 298.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6130A2
RGBrgb(97, 48, 162)
HSLhsl(266, 54%, 41%)
HSVhsv(266, 70%, 64%)
CMYKcmyk(40.1%, 70.4%, 0%, 36.5%)
CIE-LABlab(32.40, 45.69, -53.45)
CIE-LCHlch(32.40, 70.32, 310.53°)
OKLaboklab(43.74% 0.0831 -0.1525)
OKLCHoklch(43.74% 0.174 298.6)
XYZxyz(12.5066, 7.2638, 34.9185)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6130A2 #71A230
analogous
#3038A2 #6130A2 #9A30A2
triadic
#6130A2 #A26130 #30A261
tetradic
#6130A2 #A23038 #71A230 #30A29A
square
#6130A2 #A23038 #71A230 #30A29A
split-complementary
#6130A2 #A29A30 #38A230
monochromatic
#281444 #452273 #6130A2 #7F47C8 #9F76D6

Accessibility & contrast

On white

8.56
#6130A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6130A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6130A2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6130A2#FFFFFF#000000##FFFFFF
##6130A21.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#514C65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6130a2;
/* rgb */ color: rgb(97, 48, 162);
/* oklch */ color: oklch(43.7% 0.174 298.6);
Tailwind
colors: {
  custom: {
    50: '#936cbe',
    500: '#6130a2',
    950: '#000000',
  },
}
SCSS
$custom: #6130a2;
$custom-light: #936cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6130a2",
  "rgb": {
    "r": 97,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 265.789,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.17373,
    "h": 298.6
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#6130A2
secondary
#9CBE6F
accent
#DE4A9E
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6130A2

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

Preview Lab → · Contrast checker → · Palette generator →

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