#7048AF#7048AF

#7048AF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.8% C 0.158 H 298.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7048AF
RGBrgb(112, 72, 175)
HSLhsl(263, 42%, 48%)
HSVhsv(263, 59%, 69%)
CMYKcmyk(36%, 58.9%, 0%, 31.4%)
CIE-LABlab(39.87, 39.41, -49.05)
CIE-LCHlch(39.87, 62.93, 308.78°)
OKLaboklab(49.84% 0.0752 -0.1392)
OKLCHoklch(49.84% 0.158 298.4)
XYZxyz(16.7354, 11.1744, 41.8243)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048AF #87AF48
analogous
#4853AF #7048AF #A348AF
triadic
#7048AF #AF7048 #48AF70
tetradic
#7048AF #AF4853 #87AF48 #48AFA3
square
#7048AF #AF4853 #87AF48 #48AFA3
split-complementary
#7048AF #AFA348 #53AF48
monochromatic
#382458 #543684 #7048AF #9170C4 #B29BD6

Accessibility & contrast

On white

6.49
#7048AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7048AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048AF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048AF#FFFFFF#000000##FFFFFF
##7048AF1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#625E74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7048af;
/* rgb */ color: rgb(112, 72, 175);
/* oklch */ color: oklch(49.8% 0.158 298.4);
Tailwind
colors: {
  custom: {
    50: '#9d7dc7',
    500: '#7048af',
    950: '#000000',
  },
}
SCSS
$custom: #7048af;
$custom-light: #9d7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7048af",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 263.301,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.15819,
    "h": 298.4
  },
  "luminance": 0.11175
}

Semantic roles & 50–950 ramp

primary
#7048AF
secondary
#AFC290
accent
#D256A2
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7048AF

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

Preview Lab → · Contrast checker → · Palette generator →

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