#6130B2#6130B2

#6130B2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.192 H 294.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6130B2
RGBrgb(97, 48, 178)
HSLhsl(263, 58%, 44%)
HSVhsv(263, 73%, 70%)
CMYKcmyk(45.5%, 73%, 0%, 30.2%)
CIE-LABlab(33.71, 49.92, -60.91)
CIE-LCHlch(33.71, 78.75, 309.34°)
OKLaboklab(45.08% 0.08 -0.1745)
OKLCHoklch(45.08% 0.192 294.6)
XYZxyz(14.0204, 7.8693, 42.8911)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6130B2 #81B230
analogous
#3040B2 #6130B2 #A230B2
triadic
#6130B2 #B26130 #30B261
tetradic
#6130B2 #B23040 #81B230 #30B2A2
square
#6130B2 #B23040 #81B230 #30B2A2
split-complementary
#6130B2 #B2A230 #40B230
monochromatic
#2C1652 #472382 #6130B2 #8050D0 #A380DD

Accessibility & contrast

On white

8.16
#6130B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6130B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6130B2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6130B2#FFFFFF#000000##FFFFFF
##6130B21.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#4A526E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6130b2;
/* rgb */ color: rgb(97, 48, 178);
/* oklch */ color: oklch(45.1% 0.192 294.6);
Tailwind
colors: {
  custom: {
    50: '#956dca',
    500: '#6130b2',
    950: '#000000',
  },
}
SCSS
$custom: #6130b2;
$custom-light: #956dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6130b2",
  "rgb": {
    "r": 97,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 262.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.19192,
    "h": 294.6
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#6130B2
secondary
#A8C678
accent
#E147A7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6130B2

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

Preview Lab → · Contrast checker → · Palette generator →

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