#341A6F#341A6F

#341A6F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.136 H 290.2°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#341A6F
RGBrgb(52, 26, 111)
HSLhsl(258, 62%, 27%)
HSVhsv(258, 77%, 44%)
CMYKcmyk(53.2%, 76.6%, 0%, 56.5%)
CIE-LABlab(18.44, 34.49, -44.59)
CIE-LCHlch(18.44, 56.37, 307.72°)
OKLaboklab(31.22% 0.047 -0.1281)
OKLCHoklch(31.22% 0.136 290.2)
XYZxyz(4.6540, 2.6164, 15.2956)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A6F #556F1A
analogous
#1A2B6F #341A6F #5F1A6F
triadic
#341A6F #6F341A #1A6F34
tetradic
#341A6F #6F1A2B #556F1A #1A6F5F
square
#341A6F #6F1A2B #556F1A #1A6F5F
split-complementary
#341A6F #6F5F1A #2B6F1A
monochromatic
#0C0619 #1D0E3D #341A6F #4B26A1 #6434CF

Accessibility & contrast

On white

13.78
#341A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#341A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A6F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A6F#FFFFFF#000000##FFFFFF
##341A6F1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#1F3143
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341a6f;
/* rgb */ color: rgb(52, 26, 111);
/* oklch */ color: oklch(31.2% 0.136 290.2);
Tailwind
colors: {
  custom: {
    50: '#725999',
    500: '#341a6f',
    950: '#000000',
  },
}
SCSS
$custom: #341a6f;
$custom-light: #725999;
$custom-dark: #000000;
JSON
{
  "hex": "#341a6f",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 258.353,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3122,
    "c": 0.13642,
    "h": 290.2
  },
  "luminance": 0.02617
}

Semantic roles & 50–950 ramp

primary
#341A6F
secondary
#86A441
accent
#E543B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #341A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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