#48345F#48345F

#48345F is a dark, moderate violet. Relative luminance 0.047; OKLCH L 36.7% C 0.075 H 304.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#48345F
RGBrgb(72, 52, 95)
HSLhsl(268, 29%, 29%)
HSVhsv(268, 45%, 37%)
CMYKcmyk(24.2%, 45.3%, 0%, 62.7%)
CIE-LABlab(25.74, 18.78, -22.32)
CIE-LCHlch(25.74, 29.17, 310.08°)
OKLaboklab(36.74% 0.0426 -0.0622)
OKLCHoklch(36.74% 0.075 304.4)
XYZxyz(5.9656, 4.6599, 11.4094)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48345F #4B5F34
analogous
#34365F #48345F #5E345F
triadic
#48345F #5F4834 #345F48
tetradic
#48345F #5F3436 #4B5F34 #345F5E
square
#48345F #5F3436 #4B5F34 #345F5E
split-complementary
#48345F #5F5E34 #365F34
monochromatic
#0F0B14 #2A1E37 #48345F #664A87 #8464AA

Accessibility & contrast

On white

10.87
#48345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#48345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48345F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48345F#FFFFFF#000000##FFFFFF
##48345F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#2E3D5E
Tritanopia (blue-blind)
#443B45
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48345f;
/* rgb */ color: rgb(72, 52, 95);
/* oklch */ color: oklch(36.7% 0.075 304.4);
Tailwind
colors: {
  custom: {
    50: '#7c6c8c',
    500: '#48345f',
    950: '#000000',
  },
}
SCSS
$custom: #48345f;
$custom-light: #7c6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#48345f",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 267.907,
    "s": 29.252,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36744,
    "c": 0.07535,
    "h": 304.4
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#48345F
secondary
#79905F
accent
#C66297
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#09070C
muted
#7B7A7D

Preview Lab

Preview with #48345F

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

Preview Lab → · Contrast checker → · Palette generator →

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