#380F50#380F50

#380F50 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.114 H 309.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#380F50
RGBrgb(56, 15, 80)
HSLhsl(278, 68%, 19%)
HSVhsv(278, 81%, 31%)
CMYKcmyk(30%, 81.3%, 0%, 68.6%)
CIE-LABlab(14.18, 32.18, -30.87)
CIE-LCHlch(14.18, 44.59, 316.19°)
OKLaboklab(27.46% 0.0723 -0.0875)
OKLCHoklch(27.46% 0.114 309.5)
XYZxyz(3.2494, 1.7617, 7.7567)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F50 #27500F
analogous
#170F50 #380F50 #500F47
triadic
#380F50 #50380F #0F5038
tetradic
#380F50 #50170F #27500F #0F4750
square
#380F50 #50170F #27500F #0F4750
split-complementary
#380F50 #47500F #0F5017
monochromatic
#12051A #14051C #380F50 #5C1984 #8022B7

Accessibility & contrast

On white

15.53
#380F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380F50
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F50#FFFFFF#000000##FFFFFF
##380F501.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#01254F
Tritanopia (blue-blind)
#341E2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380f50;
/* rgb */ color: rgb(56, 15, 80);
/* oklch */ color: oklch(27.5% 0.114 309.5);
Tailwind
colors: {
  custom: {
    50: '#725282',
    500: '#380f50',
    950: '#000000',
  },
}
SCSS
$custom: #380f50;
$custom-light: #725282;
$custom-dark: #000000;
JSON
{
  "hex": "#380f50",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 277.846,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27459,
    "c": 0.1135,
    "h": 309.5
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#380F50
secondary
#528A31
accent
#EB3D7D
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380F50

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

Preview Lab → · Contrast checker → · Palette generator →

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