#6145AB#6145AB

#6145AB is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.5% C 0.156 H 292.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6145AB
RGBrgb(97, 69, 171)
HSLhsl(256, 43%, 47%)
HSVhsv(256, 60%, 67%)
CMYKcmyk(43.3%, 59.6%, 0%, 32.9%)
CIE-LABlab(37.37, 36.56, -50.80)
CIE-LCHlch(37.37, 62.59, 305.74°)
OKLaboklab(47.55% 0.0586 -0.1448)
OKLCHoklch(47.55% 0.156 292)
XYZxyz(14.4066, 9.7375, 39.6406)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145AB #8FAB45
analogous
#455CAB #6145AB #9445AB
triadic
#6145AB #AB6145 #45AB61
tetradic
#6145AB #AB455C #8FAB45 #45AB94
square
#6145AB #AB455C #8FAB45 #45AB94
split-complementary
#6145AB #AB9445 #5CAB45
monochromatic
#302254 #48337F #6145AB #836AC3 #A796D5

Accessibility & contrast

On white

7.12
#6145AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6145AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6145AB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145AB#FFFFFF#000000##FFFFFF
##6145AB1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#0856A9
Tritanopia (blue-blind)
#4C5C71
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6145ab;
/* rgb */ color: rgb(97, 69, 171);
/* oklch */ color: oklch(47.5% 0.156 292.0);
Tailwind
colors: {
  custom: {
    50: '#937ac5',
    500: '#6145ab',
    950: '#000000',
  },
}
SCSS
$custom: #6145ab;
$custom-light: #937ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6145ab",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 256.471,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47547,
    "c": 0.15621,
    "h": 292
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#6145AB
secondary
#B2C08B
accent
#D256B0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #6145AB

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

Preview Lab → · Contrast checker → · Palette generator →

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