#38094A#38094A

#38094A is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.114 H 314.2°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#38094A
RGBrgb(56, 9, 74)
HSLhsl(283, 78%, 16%)
HSVhsv(283, 88%, 29%)
CMYKcmyk(24.3%, 87.8%, 0%, 71%)
CIE-LABlab(12.80, 33.24, -28.97)
CIE-LCHlch(12.80, 44.10, 318.93°)
OKLaboklab(26.33% 0.0796 -0.0819)
OKLCHoklch(26.33% 0.114 314.2)
XYZxyz(2.9644, 1.5306, 6.6165)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38094A #1B4A09
analogous
#18094A #38094A #4A093C
triadic
#38094A #4A3809 #094A38
tetradic
#38094A #4A1809 #1B4A09 #093C4A
square
#38094A #4A1809 #1B4A09 #093C4A
split-complementary
#38094A #3C4A09 #094A18
monochromatic
#15031B #15031B #38094A #611081 #8B16B7

Accessibility & contrast

On white

16.08
#38094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#38094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38094A
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38094A#FFFFFF#000000##FFFFFF
##38094A1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38094a;
/* rgb */ color: rgb(56, 9, 74);
/* oklch */ color: oklch(26.3% 0.114 314.2);
Tailwind
colors: {
  custom: {
    50: '#724f7d',
    500: '#38094a',
    950: '#000000',
  },
}
SCSS
$custom: #38094a;
$custom-light: #724f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#38094a",
  "rgb": {
    "r": 56,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 283.385,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26327,
    "c": 0.11424,
    "h": 314.2
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#38094A
secondary
#428727
accent
#F53369
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #38094A

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

Preview Lab → · Contrast checker → · Palette generator →

#38094A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva