#38103E#38103E

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

Color values

HEX#38103E
RGBrgb(56, 16, 62)
HSLhsl(292, 59%, 15%)
HSVhsv(292, 74%, 24%)
CMYKcmyk(9.7%, 74.2%, 0%, 75.7%)
CIE-LABlab(12.98, 27.38, -20.27)
CIE-LCHlch(12.98, 34.06, 323.48°)
OKLaboklab(26.16% 0.0729 -0.0565)
OKLCHoklch(26.16% 0.092 322.2)
XYZxyz(2.6856, 1.5593, 4.7160)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38103E #163E10
analogous
#21103E #38103E #3E102D
triadic
#38103E #3E3810 #103E38
tetradic
#38103E #3E2110 #163E10 #102D3E
square
#38103E #3E2110 #163E10 #102D3E
split-complementary
#38103E #2D3E10 #103E21
monochromatic
#160618 #160618 #38103E #641D6F #90299F

Accessibility & contrast

On white

16.01
#38103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38103E
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38103E#FFFFFF#000000##FFFFFF
##38103E1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F3F
Deuteranopia (green-blind)
#16233D
Tritanopia (blue-blind)
#391725
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38103e;
/* rgb */ color: rgb(56, 16, 62);
/* oklch */ color: oklch(26.2% 0.092 322.2);
Tailwind
colors: {
  custom: {
    50: '#705273',
    500: '#38103e',
    950: '#000000',
  },
}
SCSS
$custom: #38103e;
$custom-light: #705273;
$custom-dark: #000000;
JSON
{
  "hex": "#38103e",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 292.174,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26162,
    "c": 0.0922,
    "h": 322.2
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#38103E
secondary
#3B7832
accent
#E2465A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38103E

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

Preview Lab → · Contrast checker → · Palette generator →

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