#38134F#38134F

#38134F is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.107 H 309.4°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#38134F
RGBrgb(56, 19, 79)
HSLhsl(277, 61%, 19%)
HSVhsv(277, 76%, 31%)
CMYKcmyk(29.1%, 75.9%, 0%, 69%)
CIE-LABlab(14.80, 29.96, -29.19)
CIE-LCHlch(14.80, 41.83, 315.74°)
OKLaboklab(27.87% 0.0678 -0.0826)
OKLCHoklch(27.87% 0.107 309.4)
XYZxyz(3.2748, 1.8711, 7.5843)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38134F #2A4F13
analogous
#1A134F #38134F #4F1348
triadic
#38134F #4F3813 #134F38
tetradic
#38134F #4F1A13 #2A4F13 #13484F
square
#38134F #4F1A13 #2A4F13 #13484F
split-complementary
#38134F #484F13 #134F1A
monochromatic
#110619 #15071E #38134F #5B1F80 #7E2BB2

Accessibility & contrast

On white

15.28
#38134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#38134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38134F
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38134F#FFFFFF#000000##FFFFFF
##38134F1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#08264E
Tritanopia (blue-blind)
#35202F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #38134f;
/* rgb */ color: rgb(56, 19, 79);
/* oklch */ color: oklch(27.9% 0.107 309.4);
Tailwind
colors: {
  custom: {
    50: '#715481',
    500: '#38134f',
    950: '#000000',
  },
}
SCSS
$custom: #38134f;
$custom-light: #715481;
$custom-dark: #000000;
JSON
{
  "hex": "#38134f",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 277,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27869,
    "c": 0.10687,
    "h": 309.4
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#38134F
secondary
#558836
accent
#E44381
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #38134F

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

Preview Lab → · Contrast checker → · Palette generator →

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