#341A5E#341A5E

#341A5E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.115 H 296.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#341A5E
RGBrgb(52, 26, 94)
HSLhsl(263, 57%, 24%)
HSVhsv(263, 72%, 37%)
CMYKcmyk(44.7%, 72.3%, 0%, 63.1%)
CIE-LABlab(16.88, 29.33, -35.97)
CIE-LCHlch(16.88, 46.41, 309.20°)
OKLaboklab(29.63% 0.0506 -0.1027)
OKLCHoklch(29.63% 0.115 296.2)
XYZxyz(3.8054, 2.2769, 10.8265)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A5E #445E1A
analogous
#1A225E #341A5E #561A5E
triadic
#341A5E #5E341A #1A5E34
tetradic
#341A5E #5E1A22 #445E1A #1A5E56
square
#341A5E #5E1A22 #445E1A #1A5E56
split-complementary
#341A5E #5E561A #225E1A
monochromatic
#0D0718 #190D2E #341A5E #4F278E #6935BE

Accessibility & contrast

On white

14.43
#341A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#341A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A5E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A5E#FFFFFF#000000##FFFFFF
##341A5E1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#292A39
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341a5e;
/* rgb */ color: rgb(52, 26, 94);
/* oklch */ color: oklch(29.6% 0.115 296.2);
Tailwind
colors: {
  custom: {
    50: '#70588c',
    500: '#341a5e',
    950: '#000000',
  },
}
SCSS
$custom: #341a5e;
$custom-light: #70588c;
$custom-dark: #000000;
JSON
{
  "hex": "#341a5e",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 262.941,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29628,
    "c": 0.11452,
    "h": 296.2
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#341A5E
secondary
#749440
accent
#E048A6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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