#341656#341656

#341656 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.110 H 301.0°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#341656
RGBrgb(52, 22, 86)
HSLhsl(268, 59%, 21%)
HSVhsv(268, 74%, 34%)
CMYKcmyk(39.5%, 74.4%, 0%, 66.3%)
CIE-LABlab(15.36, 29.29, -33.07)
CIE-LCHlch(15.36, 44.18, 311.53°)
OKLaboklab(28.33% 0.0567 -0.0942)
OKLCHoklch(28.33% 0.11 301)
XYZxyz(3.3824, 1.9757, 9.0055)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341656 #385616
analogous
#161856 #341656 #541656
triadic
#341656 #563416 #165634
tetradic
#341656 #561618 #385616 #165654
square
#341656 #561618 #385616 #165654
split-complementary
#341656 #565416 #185616
monochromatic
#0F0618 #170A25 #341656 #512287 #6F2FB7

Accessibility & contrast

On white

15.05
#341656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#341656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341656
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341656#FFFFFF#000000##FFFFFF
##3416561.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#2D2534
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341656;
/* rgb */ color: rgb(52, 22, 86);
/* oklch */ color: oklch(28.3% 0.110 301.0);
Tailwind
colors: {
  custom: {
    50: '#6f5686',
    500: '#341656',
    950: '#000000',
  },
}
SCSS
$custom: #341656;
$custom-light: #6f5686;
$custom-dark: #000000;
JSON
{
  "hex": "#341656",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 268.125,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28325,
    "c": 0.10995,
    "h": 301
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#341656
secondary
#668D3A
accent
#E24599
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341656

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

Preview Lab → · Contrast checker → · Palette generator →

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