#38063C#38063C

#38063C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.104 H 324.7°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#38063C
RGBrgb(56, 6, 60)
HSLhsl(296, 82%, 13%)
HSVhsv(296, 90%, 24%)
CMYKcmyk(6.7%, 90%, 0%, 76.5%)
CIE-LABlab(11.26, 31.44, -21.60)
CIE-LCHlch(11.26, 38.14, 325.51°)
OKLaboklab(24.89% 0.0853 -0.0602)
OKLCHoklch(24.89% 0.104 324.7)
XYZxyz(2.5116, 1.2974, 4.3922)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38063C #0A3C06
analogous
#1D063C #38063C #3C0625
triadic
#38063C #3C3806 #063C38
tetradic
#38063C #3C1D06 #0A3C06 #06253C
square
#38063C #3C1D06 #0A3C06 #06253C
split-complementary
#38063C #253C06 #063C1D
monochromatic
#1A031C #1A031C #38063C #6C0C74 #A011AB

Accessibility & contrast

On white

16.67
#38063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38063C
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38063C#FFFFFF#000000##FFFFFF
##38063C1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#11203B
Tritanopia (blue-blind)
#391021
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38063c;
/* rgb */ color: rgb(56, 6, 60);
/* oklch */ color: oklch(24.9% 0.104 324.7);
Tailwind
colors: {
  custom: {
    50: '#714d72',
    500: '#38063c',
    950: '#000000',
  },
}
SCSS
$custom: #38063c;
$custom-light: #714d72;
$custom-dark: #000000;
JSON
{
  "hex": "#38063c",
  "rgb": {
    "r": 56,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 295.556,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24885,
    "c": 0.10439,
    "h": 324.7
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#38063C
secondary
#287C22
accent
#F8303E
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080108
muted
#7B777B

Preview Lab

Preview with #38063C

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

Preview Lab → · Contrast checker → · Palette generator →

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