#48236E#48236E

#48236E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.125 H 303.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#48236E
RGBrgb(72, 35, 110)
HSLhsl(270, 52%, 28%)
HSVhsv(270, 68%, 43%)
CMYKcmyk(34.5%, 68.2%, 0%, 56.9%)
CIE-LABlab(22.67, 33.35, -36.94)
CIE-LCHlch(22.67, 49.77, 312.07°)
OKLaboklab(34.79% 0.0684 -0.1049)
OKLCHoklch(34.79% 0.125 303.1)
XYZxyz(6.0873, 3.7056, 15.1434)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48236E #496E23
analogous
#23236E #48236E #6D236E
triadic
#48236E #6E4823 #236E48
tetradic
#48236E #6E2323 #496E23 #236E6D
square
#48236E #6E2323 #496E23 #236E6D
split-complementary
#48236E #6E6D23 #236E23
monochromatic
#0F0717 #2A1440 #48236E #66329C #8547C4

Accessibility & contrast

On white

12.06
#48236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#48236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48236E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48236E#FFFFFF#000000##FFFFFF
##48236E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#09366C
Tritanopia (blue-blind)
#413345
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #48236e;
/* rgb */ color: rgb(72, 35, 110);
/* oklch */ color: oklch(34.8% 0.125 303.1);
Tailwind
colors: {
  custom: {
    50: '#7e6098',
    500: '#48236e',
    950: '#000000',
  },
}
SCSS
$custom: #48236e;
$custom-light: #7e6098;
$custom-dark: #000000;
JSON
{
  "hex": "#48236e",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 269.6,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3479,
    "c": 0.1252,
    "h": 303.1
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#48236E
secondary
#77A14C
accent
#DB4D95
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #48236E

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

Preview Lab → · Contrast checker → · Palette generator →

#48236E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva