#38144C#38144C

#38144C is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.102 H 311.0°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#38144C
RGBrgb(56, 20, 76)
HSLhsl(279, 58%, 19%)
HSVhsv(279, 74%, 30%)
CMYKcmyk(26.3%, 73.7%, 0%, 70.2%)
CIE-LABlab(14.75, 28.66, -27.21)
CIE-LCHlch(14.75, 39.52, 316.49°)
OKLaboklab(27.76% 0.0668 -0.0768)
OKLCHoklch(27.76% 0.102 311)
XYZxyz(3.1853, 1.8629, 7.0279)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38144C #284C14
analogous
#1C144C #38144C #4C1444
triadic
#38144C #4C3814 #144C38
tetradic
#38144C #4C1C14 #284C14 #14444C
square
#38144C #4C1C14 #284C14 #14444C
split-complementary
#38144C #444C14 #144C1C
monochromatic
#120618 #14071C #38144C #5C217C #7F2EAD

Accessibility & contrast

On white

15.30
#38144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#38144C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38144C
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38144C#FFFFFF#000000##FFFFFF
##38144C1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#0D264B
Tritanopia (blue-blind)
#35202E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #38144c;
/* rgb */ color: rgb(56, 20, 76);
/* oklch */ color: oklch(27.8% 0.102 311.0);
Tailwind
colors: {
  custom: {
    50: '#71557e',
    500: '#38144c',
    950: '#000000',
  },
}
SCSS
$custom: #38144c;
$custom-light: #71557e;
$custom-dark: #000000;
JSON
{
  "hex": "#38144c",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 278.571,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27762,
    "c": 0.10181,
    "h": 311
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#38144C
secondary
#538438
accent
#E2467E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #38144C

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

Preview Lab → · Contrast checker → · Palette generator →

#38144C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva