#38073F#38073F

#38073F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.106 H 322.3°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#38073F
RGBrgb(56, 7, 63)
HSLhsl(293, 80%, 14%)
HSVhsv(293, 89%, 25%)
CMYKcmyk(11.1%, 88.9%, 0%, 75.3%)
CIE-LABlab(11.63, 31.63, -23.13)
CIE-LCHlch(11.63, 39.18, 323.82°)
OKLaboklab(25.22% 0.0837 -0.0648)
OKLCHoklch(25.22% 0.106 322.3)
XYZxyz(2.6040, 1.3517, 4.8254)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38073F #0E3F07
analogous
#1C073F #38073F #3F072A
triadic
#38073F #3F3807 #073F38
tetradic
#38073F #3F1C07 #0E3F07 #072A3F
square
#38073F #3F1C07 #0E3F07 #072A3F
split-complementary
#38073F #2A3F07 #073F1C
monochromatic
#18031C #18031C #38073F #690D76 #9A13AD

Accessibility & contrast

On white

16.53
#38073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38073F
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38073F#FFFFFF#000000##FFFFFF
##38073F1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#10213E
Tritanopia (blue-blind)
#391223
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38073f;
/* rgb */ color: rgb(56, 7, 63);
/* oklch */ color: oklch(25.2% 0.106 322.3);
Tailwind
colors: {
  custom: {
    50: '#714e74',
    500: '#38073f',
    950: '#000000',
  },
}
SCSS
$custom: #38073f;
$custom-light: #714e74;
$custom-dark: #000000;
JSON
{
  "hex": "#38073f",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 292.5,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25222,
    "c": 0.10585,
    "h": 322.3
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#38073F
secondary
#2F7E24
accent
#F6314A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38073F

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

Preview Lab → · Contrast checker → · Palette generator →

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