#38144F#38144F

#38144F is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.105 H 309.1°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#38144F
RGBrgb(56, 20, 79)
HSLhsl(277, 60%, 19%)
HSVhsv(277, 75%, 31%)
CMYKcmyk(29.1%, 74.7%, 0%, 69%)
CIE-LABlab(14.98, 29.43, -28.89)
CIE-LCHlch(14.98, 41.24, 315.53°)
OKLaboklab(28% 0.0665 -0.0817)
OKLCHoklch(28% 0.105 309.1)
XYZxyz(3.2920, 1.9056, 7.5900)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38144F #2B4F14
analogous
#1B144F #38144F #4F1449
triadic
#38144F #4F3814 #144F38
tetradic
#38144F #4F1B14 #2B4F14 #14494F
square
#38144F #4F1B14 #2B4F14 #14494F
split-complementary
#38144F #494F14 #144F1B
monochromatic
#110618 #15081E #38144F #5B2080 #7D2DB1

Accessibility & contrast

On white

15.20
#38144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38144F
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38144F#FFFFFF#000000##FFFFFF
##38144F1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#09264E
Tritanopia (blue-blind)
#35212F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #38144f;
/* rgb */ color: rgb(56, 20, 79);
/* oklch */ color: oklch(28.0% 0.105 309.1);
Tailwind
colors: {
  custom: {
    50: '#715581',
    500: '#38144f',
    950: '#000000',
  },
}
SCSS
$custom: #38144f;
$custom-light: #715581;
$custom-dark: #000000;
JSON
{
  "hex": "#38144f",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 276.61,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28003,
    "c": 0.10538,
    "h": 309.1
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#38144F
secondary
#578738
accent
#E34583
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #38144F

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

Preview Lab → · Contrast checker → · Palette generator →

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