#38083B#38083B

#38083B is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.101 H 325.4°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#38083B
RGBrgb(56, 8, 59)
HSLhsl(296, 76%, 13%)
HSVhsv(296, 86%, 23%)
CMYKcmyk(5.1%, 86.4%, 0%, 76.9%)
CIE-LABlab(11.49, 30.36, -20.51)
CIE-LCHlch(11.49, 36.64, 325.95°)
OKLaboklab(25.02% 0.0829 -0.0571)
OKLCHoklch(25.02% 0.101 325.4)
XYZxyz(2.5071, 1.3304, 4.2616)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38083B #0B3B08
analogous
#1E083B #38083B #3B0824
triadic
#38083B #3B3808 #083B38
tetradic
#38083B #3B1E08 #0B3B08 #08243B
square
#38083B #3B1E08 #0B3B08 #08243B
split-complementary
#38083B #243B08 #083B1E
monochromatic
#1A041B #1A041B #38083B #6B0F71 #9E17A7

Accessibility & contrast

On white

16.59
#38083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38083B
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38083B#FFFFFF#000000##FFFFFF
##38083B1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#13203A
Tritanopia (blue-blind)
#3A1121
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #38083b;
/* rgb */ color: rgb(56, 8, 59);
/* oklch */ color: oklch(25.0% 0.101 325.4);
Tailwind
colors: {
  custom: {
    50: '#714e71',
    500: '#38083b',
    950: '#000000',
  },
}
SCSS
$custom: #38083b;
$custom-light: #714e71;
$custom-dark: #000000;
JSON
{
  "hex": "#38083b",
  "rgb": {
    "r": 56,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 296.471,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25024,
    "c": 0.10069,
    "h": 325.4
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#38083B
secondary
#2A7A25
accent
#F33540
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #38083B

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

Preview Lab → · Contrast checker → · Palette generator →

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