#6148BD#6148BD

#6148BD is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.4% C 0.175 H 288.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#6148BD
RGBrgb(97, 72, 189)
HSLhsl(253, 47%, 51%)
HSVhsv(253, 62%, 74%)
CMYKcmyk(48.7%, 61.9%, 0%, 25.9%)
CIE-LABlab(39.33, 40.05, -58.25)
CIE-LCHlch(39.33, 70.69, 304.51°)
OKLaboklab(49.39% 0.0544 -0.1667)
OKLCHoklch(49.39% 0.175 288.1)
XYZxyz(16.4298, 10.8495, 49.3627)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148BD #A4BD48
analogous
#4869BD #6148BD #9C48BD
triadic
#6148BD #BD6148 #48BD61
tetradic
#6148BD #BD4869 #A4BD48 #48BD9C
square
#6148BD #BD4869 #A4BD48 #48BD9C
split-complementary
#6148BD #BD9C48 #69BD48
monochromatic
#332566 #493593 #6148BD #8875CD #AFA2DD

Accessibility & contrast

On white

6.62
#6148BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6148BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148BD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148BD#FFFFFF#000000##FFFFFF
##6148BD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#42637C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6148bd;
/* rgb */ color: rgb(97, 72, 189);
/* oklch */ color: oklch(49.4% 0.175 288.1);
Tailwind
colors: {
  custom: {
    50: '#957cd2',
    500: '#6148bd',
    950: '#000000',
  },
}
SCSS
$custom: #6148bd;
$custom-light: #957cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6148bd",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 252.821,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49388,
    "c": 0.17535,
    "h": 288.1
  },
  "luminance": 0.1085
}

Semantic roles & 50–950 ramp

primary
#6148BD
secondary
#BFCA97
accent
#D751BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6148BD

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

Preview Lab → · Contrast checker → · Palette generator →

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