#6C48EF#6C48EF

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

Color values

HEX#6C48EF
RGBrgb(108, 72, 239)
HSLhsl(253, 84%, 61%)
HSVhsv(253, 70%, 94%)
CMYKcmyk(54.8%, 69.9%, 0%, 6.3%)
CIE-LABlab(44.31, 56.41, -78.78)
CIE-LCHlch(44.31, 96.90, 305.60°)
OKLaboklab(54.46% 0.0626 -0.2266)
OKLCHoklch(54.46% 0.235 285.4)
XYZxyz(24.0770, 14.0535, 83.0885)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C48EF #CBEF48
analogous
#4877EF #6C48EF #BF48EF
triadic
#6C48EF #EF6C48 #48EF6C
tetradic
#6C48EF #EF4877 #CBEF48 #48EFBF
square
#6C48EF #EF4877 #CBEF48 #48EFBF
split-complementary
#6C48EF #EFBF48 #77EF48
monochromatic
#310FAD #4114E6 #6C48EF #9980F4 #C6B9F9

Accessibility & contrast

On white

5.51
#6C48EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6C48EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C48EF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C48EF#FFFFFF#000000##FFFFFF
##6C48EF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c48ef;
/* rgb */ color: rgb(108, 72, 239);
/* oklch */ color: oklch(54.5% 0.235 285.4);
Tailwind
colors: {
  custom: {
    50: '#a27ef5',
    500: '#6c48ef',
    950: '#000000',
  },
}
SCSS
$custom: #6c48ef;
$custom-light: #a27ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c48ef",
  "rgb": {
    "r": 108,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 252.934,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.23513,
    "h": 285.4
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C48EF

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

Preview Lab → · Contrast checker → · Palette generator →

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