#38123D#38123D

#38123D is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.088 H 322.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#38123D
RGBrgb(56, 18, 61)
HSLhsl(293, 54%, 15%)
HSVhsv(293, 70%, 24%)
CMYKcmyk(8.2%, 70.5%, 0%, 76.1%)
CIE-LABlab(13.29, 26.10, -19.07)
CIE-LCHlch(13.29, 32.32, 323.85°)
OKLaboklab(26.37% 0.07 -0.053)
OKLCHoklch(26.37% 0.088 322.9)
XYZxyz(2.6894, 1.6104, 4.5832)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38123D #173D12
analogous
#22123D #38123D #3D122C
triadic
#38123D #3D3812 #123D38
tetradic
#38123D #3D2212 #173D12 #122C3D
square
#38123D #3D2212 #173D12 #122C3D
split-complementary
#38123D #2C3D12 #123D22
monochromatic
#160718 #160718 #38123D #63206C #8F2E9C

Accessibility & contrast

On white

15.89
#38123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#38123D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38123D
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38123D#FFFFFF#000000##FFFFFF
##38123D1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091F3E
Deuteranopia (green-blind)
#18243C
Tritanopia (blue-blind)
#391825
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38123d;
/* rgb */ color: rgb(56, 18, 61);
/* oklch */ color: oklch(26.4% 0.088 322.9);
Tailwind
colors: {
  custom: {
    50: '#705373',
    500: '#38123d',
    950: '#000000',
  },
}
SCSS
$custom: #38123d;
$custom-light: #705373;
$custom-dark: #000000;
JSON
{
  "hex": "#38123d",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 293.023,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26367,
    "c": 0.08777,
    "h": 322.9
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#38123D
secondary
#3C7635
accent
#DE4A5B
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #38123D

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

Preview Lab → · Contrast checker → · Palette generator →

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