#38073C#38073C

#38073C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.103 H 324.7°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#38073C
RGBrgb(56, 7, 60)
HSLhsl(295, 79%, 13%)
HSVhsv(295, 88%, 24%)
CMYKcmyk(6.7%, 88.3%, 0%, 76.5%)
CIE-LABlab(11.41, 31.00, -21.35)
CIE-LCHlch(11.41, 37.64, 325.44°)
OKLaboklab(24.99% 0.0841 -0.0595)
OKLCHoklch(24.99% 0.103 324.7)
XYZxyz(2.5224, 1.3191, 4.3958)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38073C #0B3C07
analogous
#1D073C #38073C #3C0725
triadic
#38073C #3C3807 #073C38
tetradic
#38073C #3C1D07 #0B3C07 #07253C
square
#38073C #3C1D07 #0B3C07 #07253C
split-complementary
#38073C #253C07 #073C1D
monochromatic
#1A031B #1A031B #38073C #6B0D73 #9E14AA

Accessibility & contrast

On white

16.62
#38073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#38073C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38073C
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38073C#FFFFFF#000000##FFFFFF
##38073C1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#12203B
Tritanopia (blue-blind)
#391121
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38073c;
/* rgb */ color: rgb(56, 7, 60);
/* oklch */ color: oklch(25.0% 0.103 324.7);
Tailwind
colors: {
  custom: {
    50: '#714d72',
    500: '#38073c',
    950: '#000000',
  },
}
SCSS
$custom: #38073c;
$custom-light: #714d72;
$custom-dark: #000000;
JSON
{
  "hex": "#38073c",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 295.472,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24992,
    "c": 0.10301,
    "h": 324.7
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#38073C
secondary
#2A7B23
accent
#F63241
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #38073C

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

Preview Lab → · Contrast checker → · Palette generator →

#38073C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva