#6148AF#6148AF

#6148AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.3% C 0.157 H 290.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6148AF
RGBrgb(97, 72, 175)
HSLhsl(255, 42%, 48%)
HSVhsv(255, 59%, 69%)
CMYKcmyk(44.6%, 58.9%, 0%, 31.4%)
CIE-LABlab(38.32, 35.94, -51.63)
CIE-LCHlch(38.32, 62.91, 304.85°)
OKLaboklab(48.34% 0.055 -0.1472)
OKLCHoklch(48.34% 0.157 290.5)
XYZxyz(14.9828, 10.2708, 41.7422)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6148AF #96AF48
analogous
#4862AF #6148AF #9448AF
triadic
#6148AF #AF6148 #48AF61
tetradic
#6148AF #AF4862 #96AF48 #48AF94
square
#6148AF #AF4862 #96AF48 #48AF94
split-complementary
#6148AF #AF9448 #62AF48
monochromatic
#312458 #493684 #6148AF #8470C4 #AA9BD6

Accessibility & contrast

On white

6.88
#6148AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6148AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6148AF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6148AF#FFFFFF#000000##FFFFFF
##6148AF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0658AD
Tritanopia (blue-blind)
#4A5F74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6148af;
/* rgb */ color: rgb(97, 72, 175);
/* oklch */ color: oklch(48.3% 0.157 290.5);
Tailwind
colors: {
  custom: {
    50: '#937cc8',
    500: '#6148af',
    950: '#000000',
  },
}
SCSS
$custom: #6148af;
$custom-light: #937cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6148af",
  "rgb": {
    "r": 97,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 254.563,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.15716,
    "h": 290.5
  },
  "luminance": 0.10271
}

Semantic roles & 50–950 ramp

primary
#6148AF
secondary
#B6C290
accent
#D256B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6148AF

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

Preview Lab → · Contrast checker → · Palette generator →

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