#38043F#38043F

#38043F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.110 H 322.5°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#38043F
RGBrgb(56, 4, 63)
HSLhsl(293, 88%, 13%)
HSVhsv(293, 94%, 25%)
CMYKcmyk(11.1%, 93.7%, 0%, 75.3%)
CIE-LABlab(11.18, 32.94, -23.86)
CIE-LCHlch(11.18, 40.67, 324.08°)
OKLaboklab(24.9% 0.0873 -0.0669)
OKLCHoklch(24.9% 0.11 322.5)
XYZxyz(2.5714, 1.2866, 4.8146)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38043F #0B3F04
analogous
#1A043F #38043F #3F0428
triadic
#38043F #3F3804 #043F38
tetradic
#38043F #3F1A04 #0B3F04 #04283F
square
#38043F #3F1A04 #0B3F04 #04283F
split-complementary
#38043F #283F04 #043F1A
monochromatic
#1A021D #1A021D #38043F #6B0879 #9E0BB2

Accessibility & contrast

On white

16.70
#38043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#38043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38043F
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38043F#FFFFFF#000000##FFFFFF
##38043F1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A41
Deuteranopia (green-blind)
#0E203E
Tritanopia (blue-blind)
#391022
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38043f;
/* rgb */ color: rgb(56, 4, 63);
/* oklch */ color: oklch(24.9% 0.110 322.5);
Tailwind
colors: {
  custom: {
    50: '#714c74',
    500: '#38043f',
    950: '#000000',
  },
}
SCSS
$custom: #38043f;
$custom-light: #714c74;
$custom-dark: #000000;
JSON
{
  "hex": "#38043f",
  "rgb": {
    "r": 56,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 292.881,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24904,
    "c": 0.10993,
    "h": 322.5
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#38043F
secondary
#2A801E
accent
#FE2A43
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #38043F

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

Preview Lab → · Contrast checker → · Palette generator →

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