#341B6F#341B6F

#341B6F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.135 H 289.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#341B6F
RGBrgb(52, 27, 111)
HSLhsl(258, 61%, 27%)
HSVhsv(258, 76%, 44%)
CMYKcmyk(53.2%, 75.7%, 0%, 56.5%)
CIE-LABlab(18.63, 33.93, -44.27)
CIE-LCHlch(18.63, 55.78, 307.47°)
OKLaboklab(31.36% 0.0461 -0.1271)
OKLCHoklch(31.36% 0.135 289.9)
XYZxyz(4.6765, 2.6614, 15.3031)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B6F #566F1B
analogous
#1B2C6F #341B6F #5E1B6F
triadic
#341B6F #6F341B #1B6F34
tetradic
#341B6F #6F1B2C #566F1B #1B6F5E
square
#341B6F #6F1B2C #566F1B #1B6F5E
split-complementary
#341B6F #6F5E1B #2C6F1B
monochromatic
#0C0619 #1D0F3E #341B6F #4B27A0 #6336CE

Accessibility & contrast

On white

13.70
#341B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#341B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341B6F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B6F#FFFFFF#000000##FFFFFF
##341B6F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341b6f;
/* rgb */ color: rgb(52, 27, 111);
/* oklch */ color: oklch(31.4% 0.135 289.9);
Tailwind
colors: {
  custom: {
    50: '#725a99',
    500: '#341b6f',
    950: '#000000',
  },
}
SCSS
$custom: #341b6f;
$custom-light: #725a99;
$custom-dark: #000000;
JSON
{
  "hex": "#341b6f",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 257.857,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31359,
    "c": 0.13522,
    "h": 289.9
  },
  "luminance": 0.02662
}

Semantic roles & 50–950 ramp

primary
#341B6F
secondary
#87A442
accent
#E444B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #341B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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