#48418D#48418D

#48418D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.122 H 284.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#48418D
RGBrgb(72, 65, 141)
HSLhsl(246, 37%, 40%)
HSVhsv(246, 54%, 55%)
CMYKcmyk(48.9%, 53.9%, 0%, 44.7%)
CIE-LABlab(31.99, 24.11, -41.44)
CIE-LCHlch(31.99, 47.95, 300.19°)
OKLaboklab(42.34% 0.0296 -0.1181)
OKLCHoklch(42.34% 0.122 284.1)
XYZxyz(9.3691, 7.0810, 26.0672)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48418D #868D41
analogous
#41608D #48418D #6E418D
triadic
#48418D #8D4841 #418D48
tetradic
#48418D #8D4160 #868D41 #418D6E
square
#48418D #8D4160 #868D41 #418D6E
split-complementary
#48418D #8D6E41 #608D41
monochromatic
#1D1A39 #332E63 #48418D #6159B2 #8983C6

Accessibility & contrast

On white

8.69
#48418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#48418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48418D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48418D#FFFFFF#000000##FFFFFF
##48418D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#17498B
Tritanopia (blue-blind)
#305260
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #48418d;
/* rgb */ color: rgb(72, 65, 141);
/* oklch */ color: oklch(42.3% 0.122 284.1);
Tailwind
colors: {
  custom: {
    50: '#8075af',
    500: '#48418d',
    950: '#000000',
  },
}
SCSS
$custom: #48418d;
$custom-light: #8075af;
$custom-dark: #000000;
JSON
{
  "hex": "#48418d",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 245.526,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.12174,
    "h": 284.1
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#48418D
secondary
#ABB079
accent
#CD5BC2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #48418D

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

Preview Lab → · Contrast checker → · Palette generator →

#48418D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva