#38043A#38043A

#38043A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.5% C 0.105 H 326.5°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#38043A
RGBrgb(56, 4, 58)
HSLhsl(298, 87%, 12%)
HSVhsv(298, 93%, 23%)
CMYKcmyk(3.4%, 93.1%, 0%, 77.3%)
CIE-LABlab(10.80, 31.94, -20.89)
CIE-LCHlch(10.80, 38.16, 326.81°)
OKLaboklab(24.51% 0.088 -0.0582)
OKLCHoklch(24.51% 0.105 326.5)
XYZxyz(2.4380, 1.2333, 4.1118)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38043A #063A04
analogous
#1D043A #38043A #3A0421
triadic
#38043A #3A3804 #043A38
tetradic
#38043A #3A1D04 #063A04 #04213A
square
#38043A #3A1D04 #063A04 #04213A
split-complementary
#38043A #213A04 #043A1D
monochromatic
#1C021D #1C021D #38043A #6F0873 #A70CAD

Accessibility & contrast

On white

16.85
#38043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#38043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38043A
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38043A#FFFFFF#000000##FFFFFF
##38043A1.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#121F39
Tritanopia (blue-blind)
#3A0E1F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #38043a;
/* rgb */ color: rgb(56, 4, 58);
/* oklch */ color: oklch(24.5% 0.105 326.5);
Tailwind
colors: {
  custom: {
    50: '#714c70',
    500: '#38043a',
    950: '#000000',
  },
}
SCSS
$custom: #38043a;
$custom-light: #714c70;
$custom-dark: #000000;
JSON
{
  "hex": "#38043a",
  "rgb": {
    "r": 56,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 297.778,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24514,
    "c": 0.10545,
    "h": 326.5
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#38043A
secondary
#217C1E
accent
#FD2B32
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #38043A

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

Preview Lab → · Contrast checker → · Palette generator →

#38043A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva