#380334#380334

#380334 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.102 H 331.7°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#380334
RGBrgb(56, 3, 52)
HSLhsl(305, 90%, 12%)
HSVhsv(305, 95%, 22%)
CMYKcmyk(0%, 94.6%, 7.1%, 78%)
CIE-LABlab(10.21, 31.28, -17.48)
CIE-LCHlch(10.21, 35.83, 330.81°)
OKLaboklab(23.96% 0.0897 -0.0482)
OKLCHoklch(23.96% 0.102 331.7)
XYZxyz(2.2833, 1.1540, 3.3506)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380334 #033807
analogous
#220338 #380334 #38031A
triadic
#380334 #343803 #033438
tetradic
#380334 #382203 #033807 #031A38
square
#380334 #382203 #033807 #031A38
split-complementary
#380334 #1A3803 #033822
monochromatic
#1D021B #1D021B #380334 #72066A #AC09A0

Accessibility & contrast

On white

17.06
#380334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#380334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380334
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380334#FFFFFF#000000##FFFFFF
##3803341.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#151E33
Tritanopia (blue-blind)
#3B091B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #380334;
/* rgb */ color: rgb(56, 3, 52);
/* oklch */ color: oklch(24.0% 0.102 331.7);
Tailwind
colors: {
  custom: {
    50: '#714b6b',
    500: '#380334',
    950: '#000000',
  },
}
SCSS
$custom: #380334;
$custom-light: #714b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#380334",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 304.528,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23962,
    "c": 0.10181,
    "h": 331.7
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#380334
secondary
#1C7B23
accent
#FF3929
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #380334

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

Preview Lab → · Contrast checker → · Palette generator →

#380334 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva