#38063D#38063D

#38063D is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.105 H 323.9°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#38063D
RGBrgb(56, 6, 61)
HSLhsl(295, 82%, 13%)
HSVhsv(295, 90%, 24%)
CMYKcmyk(8.2%, 90.2%, 0%, 76.1%)
CIE-LABlab(11.33, 31.64, -22.19)
CIE-LCHlch(11.33, 38.65, 324.96°)
OKLaboklab(24.96% 0.0852 -0.062)
OKLCHoklch(24.96% 0.105 323.9)
XYZxyz(2.5382, 1.3081, 4.5328)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38063D #0B3D06
analogous
#1C063D #38063D #3D0626
triadic
#38063D #3D3806 #063D38
tetradic
#38063D #3D1C06 #0B3D06 #06263D
square
#38063D #3D1C06 #0B3D06 #06263D
split-complementary
#38063D #263D06 #063D1C
monochromatic
#1A031C #1A031C #38063D #6B0B75 #9E11AC

Accessibility & contrast

On white

16.65
#38063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38063D
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38063D#FFFFFF#000000##FFFFFF
##38063D1.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)
#001A3E
Deuteranopia (green-blind)
#11203C
Tritanopia (blue-blind)
#391122
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38063d;
/* rgb */ color: rgb(56, 6, 61);
/* oklch */ color: oklch(25.0% 0.105 323.9);
Tailwind
colors: {
  custom: {
    50: '#714d73',
    500: '#38063d',
    950: '#000000',
  },
}
SCSS
$custom: #38063d;
$custom-light: #714d73;
$custom-dark: #000000;
JSON
{
  "hex": "#38063d",
  "rgb": {
    "r": 56,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 294.545,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24961,
    "c": 0.10532,
    "h": 323.9
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#38063D
secondary
#2A7D22
accent
#F82F42
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38063D

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

Preview Lab → · Contrast checker → · Palette generator →

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