#6D48EF#6D48EF

#6D48EF is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.235 H 285.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6D48EF
RGBrgb(109, 72, 239)
HSLhsl(253, 84%, 61%)
HSVhsv(253, 70%, 94%)
CMYKcmyk(54.4%, 69.9%, 0%, 6.3%)
CIE-LABlab(44.40, 56.56, -78.63)
CIE-LCHlch(44.40, 96.86, 305.73°)
OKLaboklab(54.54% 0.064 -0.2262)
OKLCHoklch(54.54% 0.235 285.8)
XYZxyz(24.1993, 14.1166, 83.0943)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48EF #CAEF48
analogous
#4876EF #6D48EF #C048EF
triadic
#6D48EF #EF6D48 #48EF6D
tetradic
#6D48EF #EF4876 #CAEF48 #48EFC0
square
#6D48EF #EF4876 #CAEF48 #48EFC0
split-complementary
#6D48EF #EFC048 #76EF48
monochromatic
#320FAD #4314E6 #6D48EF #9A80F4 #C7B9F9

Accessibility & contrast

On white

5.49
#6D48EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6D48EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48EF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48EF#FFFFFF#000000##FFFFFF
##6D48EF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#337497
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6d48ef;
/* rgb */ color: rgb(109, 72, 239);
/* oklch */ color: oklch(54.5% 0.235 285.8);
Tailwind
colors: {
  custom: {
    50: '#a37ef5',
    500: '#6d48ef',
    950: '#000000',
  },
}
SCSS
$custom: #6d48ef;
$custom-light: #a37ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48ef",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 253.293,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.23505,
    "h": 285.8
  },
  "luminance": 0.14118
}

Semantic roles & 50–950 ramp

primary
#6D48EF
secondary
#DBE9AA
accent
#E005B0
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D48EF

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

Preview Lab → · Contrast checker → · Palette generator →

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