#38123C#38123C

#38123C is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.087 H 323.8°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#38123C
RGBrgb(56, 18, 60)
HSLhsl(294, 54%, 15%)
HSVhsv(294, 70%, 24%)
CMYKcmyk(6.7%, 70%, 0%, 76.5%)
CIE-LABlab(13.23, 25.87, -18.46)
CIE-LCHlch(13.23, 31.78, 324.49°)
OKLaboklab(26.3% 0.0699 -0.0512)
OKLCHoklch(26.3% 0.087 323.8)
XYZxyz(2.6627, 1.5998, 4.4426)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38123C #163C12
analogous
#23123C #38123C #3C122B
triadic
#38123C #3C3812 #123C38
tetradic
#38123C #3C2312 #163C12 #122B3C
square
#38123C #3C2312 #163C12 #122B3C
split-complementary
#38123C #2B3C12 #123C23
monochromatic
#160718 #160718 #38123C #64206B #902E9A

Accessibility & contrast

On white

15.91
#38123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38123C
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38123C#FFFFFF#000000##FFFFFF
##38123C1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1F3D
Deuteranopia (green-blind)
#19243B
Tritanopia (blue-blind)
#391825
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38123c;
/* rgb */ color: rgb(56, 18, 60);
/* oklch */ color: oklch(26.3% 0.087 323.8);
Tailwind
colors: {
  custom: {
    50: '#705372',
    500: '#38123c',
    950: '#000000',
  },
}
SCSS
$custom: #38123c;
$custom-light: #705372;
$custom-dark: #000000;
JSON
{
  "hex": "#38123c",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 294.286,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26299,
    "c": 0.08668,
    "h": 323.8
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#38123C
secondary
#3B7535
accent
#DD4B59
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #38123C

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

Preview Lab → · Contrast checker → · Palette generator →

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