#6145AE#6145AE

#6145AE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.8% C 0.160 H 291.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6145AE
RGBrgb(97, 69, 174)
HSLhsl(256, 43%, 48%)
HSVhsv(256, 60%, 68%)
CMYKcmyk(44.3%, 60.3%, 0%, 31.8%)
CIE-LABlab(37.58, 37.42, -52.24)
CIE-LCHlch(37.58, 64.26, 305.62°)
OKLaboklab(47.77% 0.0585 -0.149)
OKLCHoklch(47.77% 0.16 291.4)
XYZxyz(14.6958, 9.8532, 41.1637)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145AE #92AE45
analogous
#455DAE #6145AE #9545AE
triadic
#6145AE #AE6145 #45AE61
tetradic
#6145AE #AE455D #92AE45 #45AE95
square
#6145AE #AE455D #92AE45 #45AE95
split-complementary
#6145AE #AE9545 #5DAE45
monochromatic
#302256 #493482 #6145AE #836CC5 #A897D6

Accessibility & contrast

On white

7.07
#6145AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6145AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6145AE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145AE#FFFFFF#000000##FFFFFF
##6145AE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#4B5D73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6145ae;
/* rgb */ color: rgb(97, 69, 174);
/* oklch */ color: oklch(47.8% 0.160 291.4);
Tailwind
colors: {
  custom: {
    50: '#937ac7',
    500: '#6145ae',
    950: '#000000',
  },
}
SCSS
$custom: #6145ae;
$custom-light: #937ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6145ae",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 256,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.1601,
    "h": 291.4
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#6145AE
secondary
#B4C28D
accent
#D355B1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6145AE

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

Preview Lab → · Contrast checker → · Palette generator →

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