#38103D#38103D

#38103D is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.091 H 323.1°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#38103D
RGBrgb(56, 16, 61)
HSLhsl(293, 58%, 15%)
HSVhsv(293, 74%, 24%)
CMYKcmyk(8.2%, 73.8%, 0%, 76.1%)
CIE-LABlab(12.91, 27.15, -19.67)
CIE-LCHlch(12.91, 33.53, 324.08°)
OKLaboklab(26.09% 0.0729 -0.0547)
OKLCHoklch(26.09% 0.091 323.1)
XYZxyz(2.6584, 1.5484, 4.5728)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38103D #153D10
analogous
#21103D #38103D #3D102C
triadic
#38103D #3D3810 #103D38
tetradic
#38103D #3D2110 #153D10 #102C3D
square
#38103D #3D2110 #153D10 #102C3D
split-complementary
#38103D #2C3D10 #103D21
monochromatic
#160618 #160618 #38103D #651D6D #91299E

Accessibility & contrast

On white

16.04
#38103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38103D
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38103D#FFFFFF#000000##FFFFFF
##38103D1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3E
Deuteranopia (green-blind)
#17233C
Tritanopia (blue-blind)
#391724
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38103d;
/* rgb */ color: rgb(56, 16, 61);
/* oklch */ color: oklch(26.1% 0.091 323.1);
Tailwind
colors: {
  custom: {
    50: '#705273',
    500: '#38103d',
    950: '#000000',
  },
}
SCSS
$custom: #38103d;
$custom-light: #705273;
$custom-dark: #000000;
JSON
{
  "hex": "#38103d",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 293.333,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26092,
    "c": 0.09113,
    "h": 323.1
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#38103D
secondary
#3A7732
accent
#E24657
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #38103D

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

Preview Lab → · Contrast checker → · Palette generator →

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