#38073D#38073D

#38073D is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.104 H 323.9°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#38073D
RGBrgb(56, 7, 61)
HSLhsl(294, 79%, 13%)
HSVhsv(294, 89%, 24%)
CMYKcmyk(8.2%, 88.5%, 0%, 76.1%)
CIE-LABlab(11.48, 31.21, -21.95)
CIE-LCHlch(11.48, 38.15, 324.88°)
OKLaboklab(25.07% 0.084 -0.0613)
OKLCHoklch(25.07% 0.104 323.9)
XYZxyz(2.5491, 1.3298, 4.5364)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38073D #0C3D07
analogous
#1D073D #38073D #3D0727
triadic
#38073D #3D3807 #073D38
tetradic
#38073D #3D1D07 #0C3D07 #07273D
square
#38073D #3D1D07 #0C3D07 #07273D
split-complementary
#38073D #273D07 #073D1D
monochromatic
#19031B #19031B #38073D #6A0D74 #9D14AB

Accessibility & contrast

On white

16.59
#38073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#38073D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38073D
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38073D#FFFFFF#000000##FFFFFF
##38073D1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#11203C
Tritanopia (blue-blind)
#391122
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38073d;
/* rgb */ color: rgb(56, 7, 61);
/* oklch */ color: oklch(25.1% 0.104 323.9);
Tailwind
colors: {
  custom: {
    50: '#714d73',
    500: '#38073d',
    950: '#000000',
  },
}
SCSS
$custom: #38073d;
$custom-light: #714d73;
$custom-dark: #000000;
JSON
{
  "hex": "#38073d",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 294.444,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25068,
    "c": 0.10396,
    "h": 323.9
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#38073D
secondary
#2C7C23
accent
#F63244
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38073D

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

Preview Lab → · Contrast checker → · Palette generator →

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