#38093B#38093B

#38093B is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.099 H 325.4°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#38093B
RGBrgb(56, 9, 59)
HSLhsl(296, 74%, 13%)
HSVhsv(296, 85%, 23%)
CMYKcmyk(5.1%, 84.7%, 0%, 76.9%)
CIE-LABlab(11.64, 29.93, -20.28)
CIE-LCHlch(11.64, 36.16, 325.89°)
OKLaboklab(25.13% 0.0817 -0.0564)
OKLCHoklch(25.13% 0.099 325.4)
XYZxyz(2.5179, 1.3521, 4.2652)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38093B #0C3B09
analogous
#1F093B #38093B #3B0925
triadic
#38093B #3B3809 #093B38
tetradic
#38093B #3B1F09 #0C3B09 #09253B
square
#38093B #3B1F09 #0C3B09 #09253B
split-complementary
#38093B #253B09 #093B1F
monochromatic
#19041B #19041B #38093B #6A1170 #9D19A5

Accessibility & contrast

On white

16.53
#38093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38093B
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38093B#FFFFFF#000000##FFFFFF
##38093B1.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)
#001B3C
Deuteranopia (green-blind)
#14213A
Tritanopia (blue-blind)
#3A1221
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38093b;
/* rgb */ color: rgb(56, 9, 59);
/* oklch */ color: oklch(25.1% 0.099 325.4);
Tailwind
colors: {
  custom: {
    50: '#714e71',
    500: '#38093b',
    950: '#000000',
  },
}
SCSS
$custom: #38093b;
$custom-light: #714e71;
$custom-dark: #000000;
JSON
{
  "hex": "#38093b",
  "rgb": {
    "r": 56,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 296.4,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2513,
    "c": 0.09933,
    "h": 325.4
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#38093B
secondary
#2C7927
accent
#F03843
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #38093B

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

Preview Lab → · Contrast checker → · Palette generator →

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