#38053F#38053F

#38053F is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.109 H 322.5°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#38053F
RGBrgb(56, 5, 63)
HSLhsl(293, 85%, 13%)
HSVhsv(293, 92%, 25%)
CMYKcmyk(11.1%, 92.1%, 0%, 75.3%)
CIE-LABlab(11.33, 32.50, -23.61)
CIE-LCHlch(11.33, 40.17, 323.99°)
OKLaboklab(25.01% 0.0861 -0.0661)
OKLCHoklch(25.01% 0.109 322.5)
XYZxyz(2.5823, 1.3083, 4.8182)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38053F #0C3F05
analogous
#1B053F #38053F #3F0529
triadic
#38053F #3F3805 #053F38
tetradic
#38053F #3F1B05 #0C3F05 #05293F
square
#38053F #3F1B05 #0C3F05 #05293F
split-complementary
#38053F #293F05 #053F1B
monochromatic
#19021C #19021C #38053F #6A0978 #9D0EB0

Accessibility & contrast

On white

16.65
#38053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#38053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38053F
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38053F#FFFFFF#000000##FFFFFF
##38053F1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#0E203E
Tritanopia (blue-blind)
#391122
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38053f;
/* rgb */ color: rgb(56, 5, 63);
/* oklch */ color: oklch(25.0% 0.109 322.5);
Tailwind
colors: {
  custom: {
    50: '#714d74',
    500: '#38053f',
    950: '#000000',
  },
}
SCSS
$custom: #38053f;
$custom-light: #714d74;
$custom-dark: #000000;
JSON
{
  "hex": "#38053f",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 292.759,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25011,
    "c": 0.10855,
    "h": 322.5
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#38053F
secondary
#2C8020
accent
#FC2C45
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #38053F

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

Preview Lab → · Contrast checker → · Palette generator →

#38053F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva