#380E4F#380E4F

#380E4F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.3% C 0.114 H 310.3°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#380E4F
RGBrgb(56, 14, 79)
HSLhsl(279, 70%, 18%)
HSVhsv(279, 82%, 31%)
CMYKcmyk(29.1%, 82.3%, 0%, 69%)
CIE-LABlab(13.94, 32.38, -30.58)
CIE-LCHlch(13.94, 44.54, 316.64°)
OKLaboklab(27.26% 0.0736 -0.0866)
OKLCHoklch(27.26% 0.114 310.3)
XYZxyz(3.1989, 1.7194, 7.5590)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E4F #254F0E
analogous
#170E4F #380E4F #4F0E45
triadic
#380E4F #4F380E #0E4F38
tetradic
#380E4F #4F170E #254F0E #0E454F
square
#380E4F #4F170E #254F0E #0E454F
split-complementary
#380E4F #454F0E #0E4F17
monochromatic
#12051A #13051B #380E4F #5D1783 #8220B7

Accessibility & contrast

On white

15.63
#380E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#380E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E4F
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E4F#FFFFFF#000000##FFFFFF
##380E4F1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#02244E
Tritanopia (blue-blind)
#351D2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380e4f;
/* rgb */ color: rgb(56, 14, 79);
/* oklch */ color: oklch(27.3% 0.114 310.3);
Tailwind
colors: {
  custom: {
    50: '#725281',
    500: '#380e4f',
    950: '#000000',
  },
}
SCSS
$custom: #380e4f;
$custom-light: #725281;
$custom-dark: #000000;
JSON
{
  "hex": "#380e4f",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 278.769,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27261,
    "c": 0.11366,
    "h": 310.3
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#380E4F
secondary
#4F8A2F
accent
#ED3B7A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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