#341C64#341C64

#341C64 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.120 H 293.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#341C64
RGBrgb(52, 28, 100)
HSLhsl(260, 56%, 25%)
HSVhsv(260, 72%, 39%)
CMYKcmyk(48%, 72%, 0%, 60.8%)
CIE-LABlab(17.83, 29.98, -38.39)
CIE-LCHlch(17.83, 48.71, 307.98°)
OKLaboklab(30.47% 0.0473 -0.1099)
OKLCHoklch(30.47% 0.12 293.3)
XYZxyz(4.1310, 2.4805, 12.3153)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C64 #4C641C
analogous
#1C2864 #341C64 #581C64
triadic
#341C64 #64341C #1C6434
tetradic
#341C64 #641C28 #4C641C #1C6458
square
#341C64 #641C28 #4C641C #1C6458
split-complementary
#341C64 #64581C #28641C
monochromatic
#0C0718 #1B0F34 #341C64 #4D2994 #6637C4

Accessibility & contrast

On white

14.04
#341C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#341C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C64
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C64#FFFFFF#000000##FFFFFF
##341C641.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#262E3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341c64;
/* rgb */ color: rgb(52, 28, 100);
/* oklch */ color: oklch(30.5% 0.120 293.3);
Tailwind
colors: {
  custom: {
    50: '#705a91',
    500: '#341c64',
    950: '#000000',
  },
}
SCSS
$custom: #341c64;
$custom-light: #705a91;
$custom-dark: #000000;
JSON
{
  "hex": "#341c64",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 100
  },
  "hsl": {
    "h": 260,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30474,
    "c": 0.11962,
    "h": 293.3
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#341C64
secondary
#7C9943
accent
#E048AD
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #341C64

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

Preview Lab → · Contrast checker → · Palette generator →

#341C64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva