#38083F#38083F

#38083F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.105 H 322.2°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#38083F
RGBrgb(56, 8, 63)
HSLhsl(292, 77%, 14%)
HSVhsv(292, 87%, 25%)
CMYKcmyk(11.1%, 87.3%, 0%, 75.3%)
CIE-LABlab(11.78, 31.20, -22.90)
CIE-LCHlch(11.78, 38.70, 323.72°)
OKLaboklab(25.33% 0.0826 -0.0641)
OKLCHoklch(25.33% 0.105 322.2)
XYZxyz(2.6148, 1.3735, 4.8290)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38083F #0F3F08
analogous
#1D083F #38083F #3F082B
triadic
#38083F #3F3808 #083F38
tetradic
#38083F #3F1D08 #0F3F08 #082B3F
square
#38083F #3F1D08 #0F3F08 #082B3F
split-complementary
#38083F #2B3F08 #083F1D
monochromatic
#18031B #18031B #38083F #680F75 #9916AC

Accessibility & contrast

On white

16.48
#38083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#38083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38083F
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38083F#FFFFFF#000000##FFFFFF
##38083F1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#10213E
Tritanopia (blue-blind)
#391323
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38083f;
/* rgb */ color: rgb(56, 8, 63);
/* oklch */ color: oklch(25.3% 0.105 322.2);
Tailwind
colors: {
  custom: {
    50: '#714e74',
    500: '#38083f',
    950: '#000000',
  },
}
SCSS
$custom: #38083f;
$custom-light: #714e74;
$custom-dark: #000000;
JSON
{
  "hex": "#38083f",
  "rgb": {
    "r": 56,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 292.364,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25327,
    "c": 0.10453,
    "h": 322.2
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#38083F
secondary
#307E25
accent
#F4344C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38083F

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

Preview Lab → · Contrast checker → · Palette generator →

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