#38084B#38084B

#38084B is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.116 H 313.7°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#38084B
RGBrgb(56, 8, 75)
HSLhsl(283, 81%, 16%)
HSVhsv(283, 89%, 29%)
CMYKcmyk(25.3%, 89.3%, 0%, 70.6%)
CIE-LABlab(12.75, 33.87, -29.75)
CIE-LCHlch(12.75, 45.08, 318.71°)
OKLaboklab(26.32% 0.0804 -0.0842)
OKLCHoklch(26.32% 0.116 313.7)
XYZxyz(2.9875, 1.5225, 6.7917)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38084B #1B4B08
analogous
#17084B #38084B #4B083D
triadic
#38084B #4B3808 #084B38
tetradic
#38084B #4B1708 #1B4B08 #083D4B
square
#38084B #4B1708 #1B4B08 #083D4B
split-complementary
#38084B #3D4B08 #084B17
monochromatic
#15031C #15031C #38084B #610E82 #8B14BA

Accessibility & contrast

On white

16.10
#38084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#38084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38084B
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38084B#FFFFFF#000000##FFFFFF
##38084B1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#02224A
Tritanopia (blue-blind)
#36192A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38084b;
/* rgb */ color: rgb(56, 8, 75);
/* oklch */ color: oklch(26.3% 0.116 313.7);
Tailwind
colors: {
  custom: {
    50: '#724f7e',
    500: '#38084b',
    950: '#000000',
  },
}
SCSS
$custom: #38084b;
$custom-light: #724f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#38084b",
  "rgb": {
    "r": 56,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 282.985,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26318,
    "c": 0.11639,
    "h": 313.7
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#38084B
secondary
#428926
accent
#F73169
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #38084B

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

Preview Lab → · Contrast checker → · Palette generator →

#38084B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva