#38144D#38144D

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

Color values

HEX#38144D
RGBrgb(56, 20, 77)
HSLhsl(278, 59%, 19%)
HSVhsv(278, 74%, 30%)
CMYKcmyk(27.3%, 74%, 0%, 69.8%)
CIE-LABlab(14.83, 28.91, -27.77)
CIE-LCHlch(14.83, 40.09, 316.15°)
OKLaboklab(27.84% 0.0667 -0.0785)
OKLCHoklch(27.84% 0.103 310.4)
XYZxyz(3.2203, 1.8770, 7.2124)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38144D #294D14
analogous
#1C144D #38144D #4D1446
triadic
#38144D #4D3814 #144D38
tetradic
#38144D #4D1C14 #294D14 #14464D
square
#38144D #4D1C14 #294D14 #14464D
split-complementary
#38144D #464D14 #144D1C
monochromatic
#120618 #15071C #38144D #5B217E #7F2DAE

Accessibility & contrast

On white

15.27
#38144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#38144D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38144D
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38144D#FFFFFF#000000##FFFFFF
##38144D1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#0C264C
Tritanopia (blue-blind)
#35202E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #38144d;
/* rgb */ color: rgb(56, 20, 77);
/* oklch */ color: oklch(27.8% 0.103 310.4);
Tailwind
colors: {
  custom: {
    50: '#71557f',
    500: '#38144d',
    950: '#000000',
  },
}
SCSS
$custom: #38144d;
$custom-light: #71557f;
$custom-dark: #000000;
JSON
{
  "hex": "#38144d",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 277.895,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27842,
    "c": 0.10299,
    "h": 310.4
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#38144D
secondary
#548538
accent
#E2467F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #38144D

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

Preview Lab → · Contrast checker → · Palette generator →

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