#38103F#38103F

#38103F is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.2% C 0.093 H 321.4°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#38103F
RGBrgb(56, 16, 63)
HSLhsl(291, 59%, 15%)
HSVhsv(291, 75%, 25%)
CMYKcmyk(11.1%, 74.6%, 0%, 75.3%)
CIE-LABlab(13.05, 27.60, -20.87)
CIE-LCHlch(13.05, 34.60, 322.91°)
OKLaboklab(26.23% 0.0729 -0.0582)
OKLCHoklch(26.23% 0.093 321.4)
XYZxyz(2.7133, 1.5704, 4.8619)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38103F #173F10
analogous
#20103F #38103F #3F102E
triadic
#38103F #3F3810 #103F38
tetradic
#38103F #3F2010 #173F10 #102E3F
square
#38103F #3F2010 #173F10 #102E3F
split-complementary
#38103F #2E3F10 #103F20
monochromatic
#160618 #160618 #38103F #631C70 #8F29A1

Accessibility & contrast

On white

15.98
#38103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38103F
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38103F#FFFFFF#000000##FFFFFF
##38103F1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041F40
Deuteranopia (green-blind)
#15233E
Tritanopia (blue-blind)
#391825
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38103f;
/* rgb */ color: rgb(56, 16, 63);
/* oklch */ color: oklch(26.2% 0.093 321.4);
Tailwind
colors: {
  custom: {
    50: '#705274',
    500: '#38103f',
    950: '#000000',
  },
}
SCSS
$custom: #38103f;
$custom-light: #705274;
$custom-dark: #000000;
JSON
{
  "hex": "#38103f",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 291.064,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26234,
    "c": 0.09328,
    "h": 321.4
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#38103F
secondary
#3C7932
accent
#E3455D
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38103F

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

Preview Lab → · Contrast checker → · Palette generator →

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