#341844#341844

#341844 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.083 H 311.5°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#341844
RGBrgb(52, 24, 68)
HSLhsl(278, 48%, 18%)
HSVhsv(278, 65%, 27%)
CMYKcmyk(23.5%, 64.7%, 0%, 73.3%)
CIE-LABlab(14.40, 23.11, -22.26)
CIE-LCHlch(14.40, 32.09, 316.08°)
OKLaboklab(27.19% 0.0552 -0.0625)
OKLCHoklch(27.19% 0.083 311.5)
XYZxyz(2.7860, 1.8007, 5.6685)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341844 #284418
analogous
#1E1844 #341844 #44183E
triadic
#341844 #443418 #184434
tetradic
#341844 #441E18 #284418 #183E44
square
#341844 #441E18 #284418 #183E44
split-complementary
#341844 #3E4418 #18441E
monochromatic
#110817 #110817 #341844 #572871 #79389E

Accessibility & contrast

On white

15.44
#341844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#341844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341844
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341844#FFFFFF#000000##FFFFFF
##3418441.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2345
Deuteranopia (green-blind)
#152543
Tritanopia (blue-blind)
#32202B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341844;
/* rgb */ color: rgb(52, 24, 68);
/* oklch */ color: oklch(27.2% 0.083 311.5);
Tailwind
colors: {
  custom: {
    50: '#6d5678',
    500: '#341844',
    950: '#000000',
  },
}
SCSS
$custom: #341844;
$custom-light: #6d5678;
$custom-dark: #000000;
JSON
{
  "hex": "#341844",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 278.182,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27193,
    "c": 0.08336,
    "h": 311.5
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#341844
secondary
#547B3D
accent
#D75081
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #341844

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

Preview Lab → · Contrast checker → · Palette generator →

#341844 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva