#38103C#38103C

#38103C is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.090 H 324.0°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#38103C
RGBrgb(56, 16, 60)
HSLhsl(295, 58%, 15%)
HSVhsv(295, 73%, 24%)
CMYKcmyk(6.7%, 73.3%, 0%, 76.5%)
CIE-LABlab(12.85, 26.93, -19.07)
CIE-LCHlch(12.85, 32.99, 324.70°)
OKLaboklab(26.02% 0.0728 -0.053)
OKLCHoklch(26.02% 0.09 324)
XYZxyz(2.6317, 1.5377, 4.4323)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38103C #143C10
analogous
#22103C #38103C #3C102A
triadic
#38103C #3C3810 #103C38
tetradic
#38103C #3C2210 #143C10 #102A3C
square
#38103C #3C2210 #143C10 #102A3C
split-complementary
#38103C #2A3C10 #103C22
monochromatic
#170618 #170618 #38103C #651D6C #922A9D

Accessibility & contrast

On white

16.06
#38103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#38103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38103C
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38103C#FFFFFF#000000##FFFFFF
##38103C1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3D
Deuteranopia (green-blind)
#17233B
Tritanopia (blue-blind)
#391724
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38103c;
/* rgb */ color: rgb(56, 16, 60);
/* oklch */ color: oklch(26.0% 0.090 324.0);
Tailwind
colors: {
  custom: {
    50: '#705272',
    500: '#38103c',
    950: '#000000',
  },
}
SCSS
$custom: #38103c;
$custom-light: #705272;
$custom-dark: #000000;
JSON
{
  "hex": "#38103c",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 294.545,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26022,
    "c": 0.09006,
    "h": 324
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#38103C
secondary
#387632
accent
#E14755
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #38103C

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

Preview Lab → · Contrast checker → · Palette generator →

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