#341B6E#341B6E

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

Color values

HEX#341B6E
RGBrgb(52, 27, 110)
HSLhsl(258, 61%, 27%)
HSVhsv(258, 75%, 43%)
CMYKcmyk(52.7%, 75.5%, 0%, 56.9%)
CIE-LABlab(18.54, 33.63, -43.78)
CIE-LCHlch(18.54, 55.20, 307.53°)
OKLaboklab(31.26% 0.0463 -0.1257)
OKLCHoklch(31.26% 0.134 290.2)
XYZxyz(4.6218, 2.6395, 15.0148)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B6E #556E1B
analogous
#1B2C6E #341B6E #5E1B6E
triadic
#341B6E #6E341B #1B6E34
tetradic
#341B6E #6E1B2C #556E1B #1B6E5E
square
#341B6E #6E1B2C #556E1B #1B6E5E
split-complementary
#341B6E #6E5E1B #2C6E1B
monochromatic
#0C0619 #1D0F3D #341B6E #4B279F #6436CE

Accessibility & contrast

On white

13.74
#341B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341B6E
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B6E#FFFFFF#000000##FFFFFF
##341B6E1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#203142
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341b6e;
/* rgb */ color: rgb(52, 27, 110);
/* oklch */ color: oklch(31.3% 0.134 290.2);
Tailwind
colors: {
  custom: {
    50: '#725a98',
    500: '#341b6e',
    950: '#000000',
  },
}
SCSS
$custom: #341b6e;
$custom-light: #725a98;
$custom-dark: #000000;
JSON
{
  "hex": "#341b6e",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 258.072,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31263,
    "c": 0.13394,
    "h": 290.2
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#341B6E
secondary
#86A342
accent
#E444B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #341B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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