#38083C#38083C

#38083C is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.102 H 324.6°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#38083C
RGBrgb(56, 8, 60)
HSLhsl(295, 76%, 13%)
HSVhsv(295, 87%, 24%)
CMYKcmyk(6.7%, 86.7%, 0%, 76.5%)
CIE-LABlab(11.56, 30.57, -21.12)
CIE-LCHlch(11.56, 37.15, 325.37°)
OKLaboklab(25.1% 0.0829 -0.0589)
OKLCHoklch(25.1% 0.102 324.6)
XYZxyz(2.5333, 1.3408, 4.3995)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38083C #0C3C08
analogous
#1E083C #38083C #3C0826
triadic
#38083C #3C3808 #083C38
tetradic
#38083C #3C1E08 #0C3C08 #08263C
square
#38083C #3C1E08 #0C3C08 #08263C
split-complementary
#38083C #263C08 #083C1E
monochromatic
#19041B #19041B #38083C #6A0F72 #9D16A8

Accessibility & contrast

On white

16.56
#38083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38083C
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38083C#FFFFFF#000000##FFFFFF
##38083C1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#13213B
Tritanopia (blue-blind)
#391221
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38083c;
/* rgb */ color: rgb(56, 8, 60);
/* oklch */ color: oklch(25.1% 0.102 324.6);
Tailwind
colors: {
  custom: {
    50: '#714e72',
    500: '#38083c',
    950: '#000000',
  },
}
SCSS
$custom: #38083c;
$custom-light: #714e72;
$custom-dark: #000000;
JSON
{
  "hex": "#38083c",
  "rgb": {
    "r": 56,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 295.385,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25098,
    "c": 0.10164,
    "h": 324.6
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#38083C
secondary
#2C7B25
accent
#F33543
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #38083C

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

Preview Lab → · Contrast checker → · Palette generator →

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