#380F4F#380F4F

#380F4F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.4% C 0.112 H 310.1°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#380F4F
RGBrgb(56, 15, 79)
HSLhsl(278, 68%, 18%)
HSVhsv(278, 81%, 31%)
CMYKcmyk(29.1%, 81%, 0%, 69%)
CIE-LABlab(14.10, 31.93, -30.32)
CIE-LCHlch(14.10, 44.03, 316.48°)
OKLaboklab(27.37% 0.0725 -0.0859)
OKLCHoklch(27.37% 0.112 310.1)
XYZxyz(3.2127, 1.7470, 7.5636)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F4F #264F0F
analogous
#180F4F #380F4F #4F0F46
triadic
#380F4F #4F380F #0F4F38
tetradic
#380F4F #4F180F #264F0F #0F464F
square
#380F4F #4F180F #264F0F #0F464F
split-complementary
#380F4F #464F0F #0F4F18
monochromatic
#12051A #14051C #380F4F #5C1982 #8123B6

Accessibility & contrast

On white

15.56
#380F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#380F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F4F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F4F#FFFFFF#000000##FFFFFF
##380F4F1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#03244E
Tritanopia (blue-blind)
#351E2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380f4f;
/* rgb */ color: rgb(56, 15, 79);
/* oklch */ color: oklch(27.4% 0.112 310.1);
Tailwind
colors: {
  custom: {
    50: '#725281',
    500: '#380f4f',
    950: '#000000',
  },
}
SCSS
$custom: #380f4f;
$custom-light: #725281;
$custom-dark: #000000;
JSON
{
  "hex": "#380f4f",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 278.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27374,
    "c": 0.11238,
    "h": 310.1
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#380F4F
secondary
#508931
accent
#EB3D7B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380F4F

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

Preview Lab → · Contrast checker → · Palette generator →

#380F4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva