#38083E#38083E

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

Color values

HEX#38083E
RGBrgb(56, 8, 62)
HSLhsl(293, 77%, 14%)
HSVhsv(293, 87%, 24%)
CMYKcmyk(9.7%, 87.1%, 0%, 75.7%)
CIE-LABlab(11.71, 30.99, -22.31)
CIE-LCHlch(11.71, 38.18, 324.25°)
OKLaboklab(25.25% 0.0827 -0.0623)
OKLCHoklch(25.25% 0.104 323)
XYZxyz(2.5871, 1.3624, 4.6832)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38083E #0E3E08
analogous
#1D083E #38083E #3E0829
triadic
#38083E #3E3808 #083E38
tetradic
#38083E #3E1D08 #0E3E08 #08293E
square
#38083E #3E1D08 #0E3E08 #08293E
split-complementary
#38083E #293E08 #083E1D
monochromatic
#18031B #18031B #38083E #690F74 #9A16AA

Accessibility & contrast

On white

16.50
#38083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38083E
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38083E#FFFFFF#000000##FFFFFF
##38083E1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#11213D
Tritanopia (blue-blind)
#391223
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38083e;
/* rgb */ color: rgb(56, 8, 62);
/* oklch */ color: oklch(25.2% 0.104 323.0);
Tailwind
colors: {
  custom: {
    50: '#714e73',
    500: '#38083e',
    950: '#000000',
  },
}
SCSS
$custom: #38083e;
$custom-light: #714e73;
$custom-dark: #000000;
JSON
{
  "hex": "#38083e",
  "rgb": {
    "r": 56,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 293.333,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25249,
    "c": 0.10356,
    "h": 323
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#38083E
secondary
#2F7D25
accent
#F43449
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #38083E

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

Preview Lab → · Contrast checker → · Palette generator →

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