#6D48F2#6D48F2

#6D48F2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.238 H 285.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6D48F2
RGBrgb(109, 72, 242)
HSLhsl(253, 87%, 62%)
HSVhsv(253, 70%, 95%)
CMYKcmyk(55%, 70.2%, 0%, 5.1%)
CIE-LABlab(44.65, 57.40, -79.90)
CIE-LCHlch(44.65, 98.38, 305.69°)
OKLaboklab(54.8% 0.0634 -0.2299)
OKLCHoklch(54.8% 0.238 285.4)
XYZxyz(24.6462, 14.2953, 85.4478)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48F2 #CDF248
analogous
#4878F2 #6D48F2 #C248F2
triadic
#6D48F2 #F26D48 #48F26D
tetradic
#6D48F2 #F24878 #CDF248 #48F2C2
square
#6D48F2 #F24878 #CDF248 #48F2C2
split-complementary
#6D48F2 #F2C248 #78F248
monochromatic
#310DB3 #4011EC #6D48F2 #9B81F6 #C8BAFA

Accessibility & contrast

On white

5.44
#6D48F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6D48F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48F2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48F2#FFFFFF#000000##FFFFFF
##6D48F21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF7
Deuteranopia (green-blind)
#0064EF
Tritanopia (blue-blind)
#2F7598
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6d48f2;
/* rgb */ color: rgb(109, 72, 242);
/* oklch */ color: oklch(54.8% 0.238 285.4);
Tailwind
colors: {
  custom: {
    50: '#a37ef8',
    500: '#6d48f2',
    950: '#000000',
  },
}
SCSS
$custom: #6d48f2;
$custom-light: #a37ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48f2",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 242
  },
  "hsl": {
    "h": 253.059,
    "s": 86.735,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54801,
    "c": 0.23849,
    "h": 285.4
  },
  "luminance": 0.14297
}

Semantic roles & 50–950 ramp

primary
#6D48F2
secondary
#DDEBAB
accent
#E302B2
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D48F2

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

Preview Lab → · Contrast checker → · Palette generator →

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