#341268#341268

#341268 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.137 H 294.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#341268
RGBrgb(52, 18, 104)
HSLhsl(264, 70%, 24%)
HSVhsv(264, 83%, 41%)
CMYKcmyk(50%, 82.7%, 0%, 59.2%)
CIE-LABlab(16.32, 36.50, -43.50)
CIE-LCHlch(16.32, 56.79, 310.00°)
OKLaboklab(29.52% 0.0562 -0.1248)
OKLCHoklch(29.52% 0.137 294.2)
XYZxyz(4.1305, 2.1620, 13.2937)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341268 #466812
analogous
#121B68 #341268 #5F1268
triadic
#341268 #683412 #126834
tetradic
#341268 #68121B #466812 #12685F
square
#341268 #68121B #466812 #12685F
split-complementary
#341268 #685F12 #1B6812
monochromatic
#0D051A #1A0934 #341268 #4E1B9C #6824D0

Accessibility & contrast

On white

14.66
#341268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#341268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341268
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341268#FFFFFF#000000##FFFFFF
##3412681.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#242A3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341268;
/* rgb */ color: rgb(52, 18, 104);
/* oklch */ color: oklch(29.5% 0.137 294.2);
Tailwind
colors: {
  custom: {
    50: '#725594',
    500: '#341268',
    950: '#000000',
  },
}
SCSS
$custom: #341268;
$custom-light: #725594;
$custom-dark: #000000;
JSON
{
  "hex": "#341268",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 263.721,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2952,
    "c": 0.13685,
    "h": 294.2
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#341268
secondary
#76A036
accent
#ED3BA7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341268

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

Preview Lab → · Contrast checker → · Palette generator →

#341268 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva