#6145A2#6145A2

#6145A2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.9% C 0.144 H 294.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6145A2
RGBrgb(97, 69, 162)
HSLhsl(258, 40%, 45%)
HSVhsv(258, 57%, 64%)
CMYKcmyk(40.1%, 57.4%, 0%, 36.5%)
CIE-LABlab(36.75, 33.99, -46.41)
CIE-LCHlch(36.75, 57.52, 306.22°)
OKLaboklab(46.9% 0.0587 -0.1319)
OKLCHoklch(46.9% 0.144 294)
XYZxyz(13.5777, 9.4059, 35.2756)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145A2 #86A245
analogous
#4557A2 #6145A2 #9045A2
triadic
#6145A2 #A26145 #45A261
tetradic
#6145A2 #A24557 #86A245 #45A290
square
#6145A2 #A24557 #86A245 #45A290
split-complementary
#6145A2 #A29045 #57A245
monochromatic
#2E204C #473377 #6145A2 #8166BE #A491D0

Accessibility & contrast

On white

7.29
#6145A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6145A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6145A2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145A2#FFFFFF#000000##FFFFFF
##6145A21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A5
Deuteranopia (green-blind)
#1E55A0
Tritanopia (blue-blind)
#50596D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6145a2;
/* rgb */ color: rgb(97, 69, 162);
/* oklch */ color: oklch(46.9% 0.144 294.0);
Tailwind
colors: {
  custom: {
    50: '#927abe',
    500: '#6145a2',
    950: '#000000',
  },
}
SCSS
$custom: #6145a2;
$custom-light: #927abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6145a2",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 258.065,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46901,
    "c": 0.14436,
    "h": 294
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#6145A2
secondary
#ACBC87
accent
#D058AC
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #6145A2

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

Preview Lab → · Contrast checker → · Palette generator →

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