#38103B#38103B

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

Color values

HEX#38103B
RGBrgb(56, 16, 59)
HSLhsl(296, 57%, 15%)
HSVhsv(296, 73%, 23%)
CMYKcmyk(5.1%, 72.9%, 0%, 76.9%)
CIE-LABlab(12.78, 26.71, -18.46)
CIE-LCHlch(12.78, 32.46, 325.35°)
OKLaboklab(25.95% 0.0728 -0.0512)
OKLCHoklch(25.95% 0.089 324.9)
XYZxyz(2.6055, 1.5273, 4.2944)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38103B #133B10
analogous
#23103B #38103B #3B1029
triadic
#38103B #3B3810 #103B38
tetradic
#38103B #3B2310 #133B10 #10293B
square
#38103B #3B2310 #133B10 #10293B
split-complementary
#38103B #293B10 #103B23
monochromatic
#170718 #170718 #38103B #661D6B #932A9B

Accessibility & contrast

On white

16.09
#38103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38103B
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38103B#FFFFFF#000000##FFFFFF
##38103B1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081E3C
Deuteranopia (green-blind)
#18233A
Tritanopia (blue-blind)
#391623
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38103b;
/* rgb */ color: rgb(56, 16, 59);
/* oklch */ color: oklch(26.0% 0.089 324.9);
Tailwind
colors: {
  custom: {
    50: '#705271',
    500: '#38103b',
    950: '#000000',
  },
}
SCSS
$custom: #38103b;
$custom-light: #705271;
$custom-dark: #000000;
JSON
{
  "hex": "#38103b",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 295.814,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25953,
    "c": 0.08899,
    "h": 324.9
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#38103B
secondary
#377532
accent
#E14752
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #38103B

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

Preview Lab → · Contrast checker → · Palette generator →

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