#38073B#38073B

#38073B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.102 H 325.5°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#38073B
RGBrgb(56, 7, 59)
HSLhsl(297, 79%, 13%)
HSVhsv(297, 88%, 23%)
CMYKcmyk(5.1%, 88.1%, 0%, 76.9%)
CIE-LABlab(11.34, 30.80, -20.75)
CIE-LCHlch(11.34, 37.14, 326.02°)
OKLaboklab(24.92% 0.0841 -0.0578)
OKLCHoklch(24.92% 0.102 325.5)
XYZxyz(2.4962, 1.3086, 4.2579)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38073B #0A3B07
analogous
#1E073B #38073B #3B0724
triadic
#38073B #3B3807 #073B38
tetradic
#38073B #3B1E07 #0A3B07 #07243B
square
#38073B #3B1E07 #0A3B07 #07243B
split-complementary
#38073B #243B07 #073B1E
monochromatic
#1A031B #1A031B #38073B #6C0D72 #A014A8

Accessibility & contrast

On white

16.65
#38073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38073B
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38073B#FFFFFF#000000##FFFFFF
##38073B1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#13203A
Tritanopia (blue-blind)
#3A1021
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38073b;
/* rgb */ color: rgb(56, 7, 59);
/* oklch */ color: oklch(24.9% 0.102 325.5);
Tailwind
colors: {
  custom: {
    50: '#714d71',
    500: '#38073b',
    950: '#000000',
  },
}
SCSS
$custom: #38073b;
$custom-light: #714d71;
$custom-dark: #000000;
JSON
{
  "hex": "#38073b",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 296.538,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24917,
    "c": 0.10207,
    "h": 325.5
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#38073B
secondary
#287A23
accent
#F5333E
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #38073B

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

Preview Lab → · Contrast checker → · Palette generator →

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