#6152AA#6152AA

#6152AA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.8% C 0.136 H 288.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6152AA
RGBrgb(97, 82, 170)
HSLhsl(250, 35%, 49%)
HSVhsv(250, 52%, 67%)
CMYKcmyk(42.9%, 51.8%, 0%, 33.3%)
CIE-LABlab(40.37, 28.41, -45.37)
CIE-LCHlch(40.37, 53.53, 302.06°)
OKLaboklab(49.75% 0.0426 -0.1288)
OKLCHoklch(49.75% 0.136 288.3)
XYZxyz(15.2007, 11.4777, 39.4369)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152AA #9BAA52
analogous
#526FAA #6152AA #8D52AA
triadic
#6152AA #AA6152 #52AA61
tetradic
#6152AA #AA526F #9BAA52 #52AA8D
square
#6152AA #AA526F #9BAA52 #52AA8D
split-complementary
#6152AA #AA8D52 #6FAA52
monochromatic
#322A57 #493E81 #6152AA #867ABF #ACA4D3

Accessibility & contrast

On white

6.37
#6152AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6152AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152AA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152AA#FFFFFF#000000##FFFFFF
##6152AA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#2C5DA8
Tritanopia (blue-blind)
#4C6476
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6152aa;
/* rgb */ color: rgb(97, 82, 170);
/* oklch */ color: oklch(49.8% 0.136 288.3);
Tailwind
colors: {
  custom: {
    50: '#9283c4',
    500: '#6152aa',
    950: '#000000',
  },
}
SCSS
$custom: #6152aa;
$custom-light: #9283c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6152aa",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 250.227,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49751,
    "c": 0.13565,
    "h": 288.3
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#6152AA
secondary
#B9C098
accent
#CB5DB8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6152AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6152AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva