#38103A#38103A

#38103A is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.088 H 325.8°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#38103A
RGBrgb(56, 16, 58)
HSLhsl(297, 57%, 15%)
HSVhsv(297, 72%, 23%)
CMYKcmyk(3.4%, 72.4%, 0%, 77.3%)
CIE-LABlab(12.72, 26.49, -17.85)
CIE-LCHlch(12.72, 31.94, 326.03°)
OKLaboklab(25.89% 0.0727 -0.0494)
OKLCHoklch(25.89% 0.088 325.8)
XYZxyz(2.5798, 1.5170, 4.1591)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38103A #123A10
analogous
#23103A #38103A #3A1027
triadic
#38103A #3A3810 #103A38
tetradic
#38103A #3A2310 #123A10 #10273A
square
#38103A #3A2310 #123A10 #10273A
split-complementary
#38103A #273A10 #103A23
monochromatic
#170718 #170718 #38103A #661D6A #952A9A

Accessibility & contrast

On white

16.11
#38103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#38103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38103A
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38103A#FFFFFF#000000##FFFFFF
##38103A1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091E3B
Deuteranopia (green-blind)
#182339
Tritanopia (blue-blind)
#3A1623
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38103a;
/* rgb */ color: rgb(56, 16, 58);
/* oklch */ color: oklch(25.9% 0.088 325.8);
Tailwind
colors: {
  custom: {
    50: '#705270',
    500: '#38103a',
    950: '#000000',
  },
}
SCSS
$custom: #38103a;
$custom-light: #705270;
$custom-dark: #000000;
JSON
{
  "hex": "#38103a",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 297.143,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25885,
    "c": 0.08794,
    "h": 325.8
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#38103A
secondary
#357432
accent
#E0484F
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #38103A

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

Preview Lab → · Contrast checker → · Palette generator →

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