#48297F#48297F

#48297F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.138 H 295.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#48297F
RGBrgb(72, 41, 127)
HSLhsl(262, 51%, 33%)
HSVhsv(262, 68%, 50%)
CMYKcmyk(43.3%, 67.7%, 0%, 50.2%)
CIE-LABlab(25.25, 34.70, -43.62)
CIE-LCHlch(25.25, 55.74, 308.50°)
OKLaboklab(37.06% 0.0592 -0.1245)
OKLCHoklch(37.06% 0.138 295.4)
XYZxyz(7.2952, 4.4957, 20.5580)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48297F #607F29
analogous
#29357F #48297F #73297F
triadic
#48297F #7F4829 #297F48
tetradic
#48297F #7F2935 #607F29 #297F73
square
#48297F #7F2935 #607F29 #297F73
split-complementary
#48297F #7F7329 #357F29
monochromatic
#140B22 #2E1A51 #48297F #6238AD #8259C9

Accessibility & contrast

On white

11.06
#48297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#48297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48297F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48297F#FFFFFF#000000##FFFFFF
##48297F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#3A3D50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48297f;
/* rgb */ color: rgb(72, 41, 127);
/* oklch */ color: oklch(37.1% 0.138 295.4);
Tailwind
colors: {
  custom: {
    50: '#8065a5',
    500: '#48297f',
    950: '#000000',
  },
}
SCSS
$custom: #48297f;
$custom-light: #8065a5;
$custom-dark: #000000;
JSON
{
  "hex": "#48297f",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 261.628,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37064,
    "c": 0.13789,
    "h": 295.4
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#48297F
secondary
#8EAF55
accent
#DB4DA8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #48297F

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

Preview Lab → · Contrast checker → · Palette generator →

#48297F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva