#380F4E#380F4E

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

Color values

HEX#380F4E
RGBrgb(56, 15, 78)
HSLhsl(279, 68%, 18%)
HSVhsv(279, 81%, 31%)
CMYKcmyk(28.2%, 80.8%, 0%, 69.4%)
CIE-LABlab(14.02, 31.68, -29.77)
CIE-LCHlch(14.02, 43.47, 316.78°)
OKLaboklab(27.29% 0.0727 -0.0843)
OKLCHoklch(27.29% 0.111 310.8)
XYZxyz(3.1766, 1.7325, 7.3733)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F4E #254E0F
analogous
#180F4E #380F4E #4E0F44
triadic
#380F4E #4E380F #0F4E38
tetradic
#380F4E #4E180F #254E0F #0F444E
square
#380F4E #4E180F #254E0F #0F444E
split-complementary
#380F4E #444E0F #0F4E18
monochromatic
#12051A #13051B #380F4E #5D1981 #8223B5

Accessibility & contrast

On white

15.60
#380F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380F4E
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F4E#FFFFFF#000000##FFFFFF
##380F4E1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#04244D
Tritanopia (blue-blind)
#351D2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380f4e;
/* rgb */ color: rgb(56, 15, 78);
/* oklch */ color: oklch(27.3% 0.111 310.8);
Tailwind
colors: {
  custom: {
    50: '#725280',
    500: '#380f4e',
    950: '#000000',
  },
}
SCSS
$custom: #380f4e;
$custom-light: #725280;
$custom-dark: #000000;
JSON
{
  "hex": "#380f4e",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 279.048,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27288,
    "c": 0.11127,
    "h": 310.8
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#380F4E
secondary
#4F8831
accent
#EB3D7A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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