#38063A#38063A

#38063A is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.103 H 326.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#38063A
RGBrgb(56, 6, 58)
HSLhsl(298, 81%, 13%)
HSVhsv(298, 90%, 23%)
CMYKcmyk(3.4%, 89.7%, 0%, 77.3%)
CIE-LABlab(11.11, 31.03, -20.39)
CIE-LCHlch(11.11, 37.14, 326.69°)
OKLaboklab(24.73% 0.0854 -0.0567)
OKLCHoklch(24.73% 0.103 326.4)
XYZxyz(2.4597, 1.2767, 4.1190)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38063A #083A06
analogous
#1E063A #38063A #3A0622
triadic
#38063A #3A3806 #063A38
tetradic
#38063A #3A1E06 #083A06 #06223A
square
#38063A #3A1E06 #083A06 #06223A
split-complementary
#38063A #223A06 #063A1E
monochromatic
#1B031C #1B031C #38063A #6E0C71 #A311A9

Accessibility & contrast

On white

16.73
#38063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#38063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38063A
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38063A#FFFFFF#000000##FFFFFF
##38063A1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#132039
Tritanopia (blue-blind)
#3A0F20
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38063a;
/* rgb */ color: rgb(56, 6, 58);
/* oklch */ color: oklch(24.7% 0.103 326.4);
Tailwind
colors: {
  custom: {
    50: '#714d70',
    500: '#38063a',
    950: '#000000',
  },
}
SCSS
$custom: #38063a;
$custom-light: #714d70;
$custom-dark: #000000;
JSON
{
  "hex": "#38063a",
  "rgb": {
    "r": 56,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 297.692,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24734,
    "c": 0.10255,
    "h": 326.4
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#38063A
secondary
#257A22
accent
#F83038
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #38063A

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

Preview Lab → · Contrast checker → · Palette generator →

#38063A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva