#38083D#38083D

#38083D is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.103 H 323.8°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#38083D
RGBrgb(56, 8, 61)
HSLhsl(294, 77%, 14%)
HSVhsv(294, 87%, 24%)
CMYKcmyk(8.2%, 86.9%, 0%, 76.1%)
CIE-LABlab(11.63, 30.78, -21.71)
CIE-LCHlch(11.63, 37.67, 324.80°)
OKLaboklab(25.17% 0.0828 -0.0606)
OKLCHoklch(25.17% 0.103 323.8)
XYZxyz(2.5600, 1.3515, 4.5400)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38083D #0D3D08
analogous
#1D083D #38083D #3D0827
triadic
#38083D #3D3808 #083D38
tetradic
#38083D #3D1D08 #0D3D08 #08273D
square
#38083D #3D1D08 #0D3D08 #08273D
split-complementary
#38083D #273D08 #083D1D
monochromatic
#19041B #19041B #38083D #6A0F73 #9B16A9

Accessibility & contrast

On white

16.53
#38083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38083D
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38083D#FFFFFF#000000##FFFFFF
##38083D1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#12213C
Tritanopia (blue-blind)
#391222
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38083d;
/* rgb */ color: rgb(56, 8, 61);
/* oklch */ color: oklch(25.2% 0.103 323.8);
Tailwind
colors: {
  custom: {
    50: '#714e73',
    500: '#38083d',
    950: '#000000',
  },
}
SCSS
$custom: #38083d;
$custom-light: #714e73;
$custom-dark: #000000;
JSON
{
  "hex": "#38083d",
  "rgb": {
    "r": 56,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 294.34,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25173,
    "c": 0.1026,
    "h": 323.8
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#38083D
secondary
#2D7C25
accent
#F33446
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38083D

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

Preview Lab → · Contrast checker → · Palette generator →

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