#6B48EF#6B48EF

#6B48EF is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.235 H 285.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6B48EF
RGBrgb(107, 72, 239)
HSLhsl(253, 84%, 61%)
HSVhsv(253, 70%, 94%)
CMYKcmyk(55.2%, 69.9%, 0%, 6.3%)
CIE-LABlab(44.22, 56.27, -78.93)
CIE-LCHlch(44.22, 96.93, 305.48°)
OKLaboklab(54.37% 0.0612 -0.2271)
OKLCHoklch(54.37% 0.235 285.1)
XYZxyz(23.9560, 13.9911, 83.0828)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48EF #CCEF48
analogous
#4878EF #6B48EF #BE48EF
triadic
#6B48EF #EF6B48 #48EF6B
tetradic
#6B48EF #EF4878 #CCEF48 #48EFBE
square
#6B48EF #EF4878 #CCEF48 #48EFBE
split-complementary
#6B48EF #EFBE48 #78EF48
monochromatic
#300FAD #4014E6 #6B48EF #9980F4 #C6B9F9

Accessibility & contrast

On white

5.53
#6B48EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6B48EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48EF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48EF#FFFFFF#000000##FFFFFF
##6B48EF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF4
Deuteranopia (green-blind)
#0063EC
Tritanopia (blue-blind)
#2C7497
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b48ef;
/* rgb */ color: rgb(107, 72, 239);
/* oklch */ color: oklch(54.4% 0.235 285.1);
Tailwind
colors: {
  custom: {
    50: '#a27ef5',
    500: '#6b48ef',
    950: '#000000',
  },
}
SCSS
$custom: #6b48ef;
$custom-light: #a27ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48ef",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 252.575,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.23523,
    "h": 285.1
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#6B48EF
secondary
#DCE9AA
accent
#E005B2
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B48EF

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

Preview Lab → · Contrast checker → · Palette generator →

#6B48EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva