#38073E#38073E

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

Color values

HEX#38073E
RGBrgb(56, 7, 62)
HSLhsl(293, 80%, 14%)
HSVhsv(293, 89%, 24%)
CMYKcmyk(9.7%, 88.7%, 0%, 75.7%)
CIE-LABlab(11.56, 31.41, -22.54)
CIE-LCHlch(11.56, 38.67, 324.34°)
OKLaboklab(25.15% 0.0838 -0.063)
OKLCHoklch(25.15% 0.105 323.1)
XYZxyz(2.5763, 1.3407, 4.6796)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38073E #0D3E07
analogous
#1C073E #38073E #3E0728
triadic
#38073E #3E3807 #073E38
tetradic
#38073E #3E1C07 #0D3E07 #07283E
square
#38073E #3E1C07 #0D3E07 #07283E
split-complementary
#38073E #283E07 #073E1C
monochromatic
#19031B #19031B #38073E #6A0D75 #9B13AC

Accessibility & contrast

On white

16.56
#38073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38073E
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38073E#FFFFFF#000000##FFFFFF
##38073E1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#10203D
Tritanopia (blue-blind)
#391222
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38073e;
/* rgb */ color: rgb(56, 7, 62);
/* oklch */ color: oklch(25.1% 0.105 323.1);
Tailwind
colors: {
  custom: {
    50: '#714d73',
    500: '#38073e',
    950: '#000000',
  },
}
SCSS
$custom: #38073e;
$custom-light: #714d73;
$custom-dark: #000000;
JSON
{
  "hex": "#38073e",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 293.455,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25145,
    "c": 0.1049,
    "h": 323.1
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#38073E
secondary
#2D7D24
accent
#F63247
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38073E

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

Preview Lab → · Contrast checker → · Palette generator →

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