#341C6E#341C6E

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

Color values

HEX#341C6E
RGBrgb(52, 28, 110)
HSLhsl(258, 59%, 27%)
HSVhsv(258, 75%, 43%)
CMYKcmyk(52.7%, 74.5%, 0%, 56.9%)
CIE-LABlab(18.74, 33.06, -43.45)
CIE-LCHlch(18.74, 54.60, 307.27°)
OKLaboklab(31.41% 0.0453 -0.1247)
OKLCHoklch(31.41% 0.133 290)
XYZxyz(4.6451, 2.6862, 15.0226)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C6E #566E1C
analogous
#1C2D6E #341C6E #5D1C6E
triadic
#341C6E #6E341C #1C6E34
tetradic
#341C6E #6E1C2D #566E1C #1C6E5D
square
#341C6E #6E1C2D #566E1C #1C6E5D
split-complementary
#341C6E #6E5D1C #2D6E1C
monochromatic
#0C0618 #1D103D #341C6E #4B289F #6338CC

Accessibility & contrast

On white

13.66
#341C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#341C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C6E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C6E#FFFFFF#000000##FFFFFF
##341C6E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#203143
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341c6e;
/* rgb */ color: rgb(52, 28, 110);
/* oklch */ color: oklch(31.4% 0.133 290.0);
Tailwind
colors: {
  custom: {
    50: '#725a98',
    500: '#341c6e',
    950: '#000000',
  },
}
SCSS
$custom: #341c6e;
$custom-light: #725a98;
$custom-dark: #000000;
JSON
{
  "hex": "#341c6e",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 257.561,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31406,
    "c": 0.1327,
    "h": 290
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#341C6E
secondary
#87A343
accent
#E345B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #341C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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