#6151AD#6151AD

#6151AD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.8% C 0.141 H 288.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6151AD
RGBrgb(97, 81, 173)
HSLhsl(250, 36%, 50%)
HSVhsv(250, 53%, 68%)
CMYKcmyk(43.9%, 53.2%, 0%, 32.2%)
CIE-LABlab(40.32, 29.91, -47.24)
CIE-LCHlch(40.32, 55.91, 302.35°)
OKLaboklab(49.77% 0.044 -0.1343)
OKLCHoklch(49.77% 0.141 288.1)
XYZxyz(15.4129, 11.4428, 40.9236)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151AD #9DAD51
analogous
#516FAD #6151AD #8F51AD
triadic
#6151AD #AD6151 #51AD61
tetradic
#6151AD #AD516F #9DAD51 #51AD8F
square
#6151AD #AD516F #9DAD51 #51AD8F
split-complementary
#6151AD #AD8F51 #6FAD51
monochromatic
#322A5A #4A3D83 #6151AD #877AC1 #ACA4D4

Accessibility & contrast

On white

6.39
#6151AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6151AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151AD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151AD#FFFFFF#000000##FFFFFF
##6151AD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661B0
Deuteranopia (green-blind)
#265DAB
Tritanopia (blue-blind)
#4A6577
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6151ad;
/* rgb */ color: rgb(97, 81, 173);
/* oklch */ color: oklch(49.8% 0.141 288.1);
Tailwind
colors: {
  custom: {
    50: '#9382c6',
    500: '#6151ad',
    950: '#000000',
  },
}
SCSS
$custom: #6151ad;
$custom-light: #9382c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6151ad",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 250.435,
    "s": 36.22,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.14132,
    "h": 288.1
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#6151AD
secondary
#BAC298
accent
#CC5CB9
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6151AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6151AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva