#38134D#38134D

#38134D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.105 H 310.6°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#38134D
RGBrgb(56, 19, 77)
HSLhsl(278, 60%, 19%)
HSVhsv(278, 75%, 30%)
CMYKcmyk(27.3%, 75.3%, 0%, 69.8%)
CIE-LABlab(14.64, 29.45, -28.08)
CIE-LCHlch(14.64, 40.69, 316.36°)
OKLaboklab(27.71% 0.068 -0.0793)
OKLCHoklch(27.71% 0.105 310.6)
XYZxyz(3.2031, 1.8424, 7.2066)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38134D #284D13
analogous
#1B134D #38134D #4D1345
triadic
#38134D #4D3813 #134D38
tetradic
#38134D #4D1B13 #284D13 #13454D
square
#38134D #4D1B13 #284D13 #13454D
split-complementary
#38134D #454D13 #134D1B
monochromatic
#120619 #14071C #38134D #5C1F7E #7F2BAF

Accessibility & contrast

On white

15.35
#38134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38134D
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38134D#FFFFFF#000000##FFFFFF
##38134D1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#0B264C
Tritanopia (blue-blind)
#351F2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #38134d;
/* rgb */ color: rgb(56, 19, 77);
/* oklch */ color: oklch(27.7% 0.105 310.6);
Tailwind
colors: {
  custom: {
    50: '#71547f',
    500: '#38134d',
    950: '#000000',
  },
}
SCSS
$custom: #38134d;
$custom-light: #71547f;
$custom-dark: #000000;
JSON
{
  "hex": "#38134d",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 278.276,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27705,
    "c": 0.10451,
    "h": 310.6
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#38134D
secondary
#538636
accent
#E4447E
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #38134D

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

Preview Lab → · Contrast checker → · Palette generator →

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