#48237D#48237D

#48237D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.144 H 297.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#48237D
RGBrgb(72, 35, 125)
HSLhsl(265, 56%, 31%)
HSVhsv(265, 72%, 49%)
CMYKcmyk(42.4%, 72%, 0%, 51%)
CIE-LABlab(23.87, 37.47, -44.60)
CIE-LCHlch(23.87, 58.25, 310.04°)
OKLaboklab(36.03% 0.0663 -0.1274)
OKLCHoklch(36.03% 0.144 297.5)
XYZxyz(6.9742, 4.0603, 19.8143)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48237D #587D23
analogous
#232B7D #48237D #75237D
triadic
#48237D #7D4823 #237D48
tetradic
#48237D #7D232B #587D23 #237D75
square
#48237D #7D232B #587D23 #237D75
split-complementary
#48237D #7D7523 #2B7D23
monochromatic
#11081D #2C164D #48237D #6430AD #824DCD

Accessibility & contrast

On white

11.59
#48237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#48237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48237D
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48237D#FFFFFF#000000##FFFFFF
##48237D1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#3B394D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #48237d;
/* rgb */ color: rgb(72, 35, 125);
/* oklch */ color: oklch(36.0% 0.144 297.5);
Tailwind
colors: {
  custom: {
    50: '#8061a3',
    500: '#48237d',
    950: '#000000',
  },
}
SCSS
$custom: #48237d;
$custom-light: #8061a3;
$custom-dark: #000000;
JSON
{
  "hex": "#48237d",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 264.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36025,
    "c": 0.14358,
    "h": 297.5
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#48237D
secondary
#87AF4C
accent
#E048A1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48237D

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

Preview Lab → · Contrast checker → · Palette generator →

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