#6145BF#6145BF

#6145BF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.182 H 288.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6145BF
RGBrgb(97, 69, 191)
HSLhsl(254, 49%, 51%)
HSVhsv(254, 64%, 75%)
CMYKcmyk(49.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(38.83, 42.37, -60.23)
CIE-LCHlch(38.83, 73.64, 305.12°)
OKLaboklab(49.07% 0.0574 -0.1725)
OKLCHoklch(49.07% 0.182 288.4)
XYZxyz(16.4591, 10.5585, 50.4509)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145BF #A3BF45
analogous
#4566BF #6145BF #9E45BF
triadic
#6145BF #BF6145 #45BF61
tetradic
#6145BF #BF4566 #A3BF45 #45BF9E
square
#6145BF #BF4566 #A3BF45 #45BF9E
split-complementary
#6145BF #BF9E45 #66BF45
monochromatic
#332366 #493394 #6145BF #8873CF #AEA0DE

Accessibility & contrast

On white

6.75
#6145BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6145BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145BF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145BF#FFFFFF#000000##FFFFFF
##6145BF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#41627C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6145bf;
/* rgb */ color: rgb(97, 69, 191);
/* oklch */ color: oklch(49.1% 0.182 288.4);
Tailwind
colors: {
  custom: {
    50: '#967ad3',
    500: '#6145bf',
    950: '#000000',
  },
}
SCSS
$custom: #6145bf;
$custom-light: #967ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#6145bf",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 253.77,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.18182,
    "h": 288.4
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#6145BF
secondary
#BFCB95
accent
#D84FB9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6145BF

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

Preview Lab → · Contrast checker → · Palette generator →

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