#6145A3#6145A3

#6145A3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.0% C 0.146 H 293.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6145A3
RGBrgb(97, 69, 163)
HSLhsl(258, 41%, 45%)
HSVhsv(258, 58%, 64%)
CMYKcmyk(40.5%, 57.7%, 0%, 36.1%)
CIE-LABlab(36.82, 34.27, -46.90)
CIE-LCHlch(36.82, 58.09, 306.16°)
OKLaboklab(46.97% 0.0587 -0.1333)
OKLCHoklch(46.97% 0.146 293.8)
XYZxyz(13.6670, 9.4416, 35.7456)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145A3 #87A345
analogous
#4558A3 #6145A3 #9045A3
triadic
#6145A3 #A36145 #45A361
tetradic
#6145A3 #A34558 #87A345 #45A390
square
#6145A3 #A34558 #87A345 #45A390
split-complementary
#6145A3 #A39045 #58A345
monochromatic
#2E214D #473378 #6145A3 #8167BF #A492D1

Accessibility & contrast

On white

7.27
#6145A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6145A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6145A3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145A3#FFFFFF#000000##FFFFFF
##6145A31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A6
Deuteranopia (green-blind)
#1C55A1
Tritanopia (blue-blind)
#50596D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6145a3;
/* rgb */ color: rgb(97, 69, 163);
/* oklch */ color: oklch(47.0% 0.146 293.8);
Tailwind
colors: {
  custom: {
    50: '#927abf',
    500: '#6145a3',
    950: '#000000',
  },
}
SCSS
$custom: #6145a3;
$custom-light: #927abf;
$custom-dark: #000000;
JSON
{
  "hex": "#6145a3",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 257.872,
    "s": 40.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46972,
    "c": 0.14569,
    "h": 293.8
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#6145A3
secondary
#ADBC87
accent
#D057AC
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #6145A3

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

Preview Lab → · Contrast checker → · Palette generator →

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