#6145BD#6145BD

#6145BD is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.179 H 288.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6145BD
RGBrgb(97, 69, 189)
HSLhsl(254, 48%, 51%)
HSVhsv(254, 63%, 74%)
CMYKcmyk(48.7%, 63.5%, 0%, 25.9%)
CIE-LABlab(38.67, 41.79, -59.31)
CIE-LCHlch(38.67, 72.55, 305.17°)
OKLaboklab(48.92% 0.0575 -0.1698)
OKLCHoklch(48.92% 0.179 288.7)
XYZxyz(16.2405, 10.4711, 49.2996)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145BD #A1BD45
analogous
#4565BD #6145BD #9D45BD
triadic
#6145BD #BD6145 #45BD61
tetradic
#6145BD #BD4565 #A1BD45 #45BD9D
square
#6145BD #BD4565 #A1BD45 #45BD9D
split-complementary
#6145BD #BD9D45 #65BD45
monochromatic
#332464 #493491 #6145BD #8772CD #AE9FDD

Accessibility & contrast

On white

6.79
#6145BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6145BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145BD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145BD#FFFFFF#000000##FFFFFF
##6145BD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#42627B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6145bd;
/* rgb */ color: rgb(97, 69, 189);
/* oklch */ color: oklch(48.9% 0.179 288.7);
Tailwind
colors: {
  custom: {
    50: '#957ad2',
    500: '#6145bd',
    950: '#000000',
  },
}
SCSS
$custom: #6145bd;
$custom-light: #957ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6145bd",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 254,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48915,
    "c": 0.1793,
    "h": 288.7
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#6145BD
secondary
#BDCA94
accent
#D751B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6145BD

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

Preview Lab → · Contrast checker → · Palette generator →

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