#341267#341267

#341267 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.136 H 294.6°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#341267
RGBrgb(52, 18, 103)
HSLhsl(264, 70%, 24%)
HSVhsv(264, 83%, 40%)
CMYKcmyk(49.5%, 82.5%, 0%, 59.6%)
CIE-LABlab(16.21, 36.21, -43.01)
CIE-LCHlch(16.21, 56.23, 310.10°)
OKLaboklab(29.42% 0.0565 -0.1233)
OKLCHoklch(29.42% 0.136 294.6)
XYZxyz(4.0800, 2.1418, 13.0278)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341267 #456712
analogous
#121A67 #341267 #5E1267
triadic
#341267 #673412 #126734
tetradic
#341267 #67121A #456712 #12675E
square
#341267 #67121A #456712 #12675E
split-complementary
#341267 #675E12 #1A6712
monochromatic
#0D051A #1A0933 #341267 #4E1B9B #6924CF

Accessibility & contrast

On white

14.70
#341267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341267
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341267#FFFFFF#000000##FFFFFF
##3412671.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002765
Tritanopia (blue-blind)
#252A3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341267;
/* rgb */ color: rgb(52, 18, 103);
/* oklch */ color: oklch(29.4% 0.136 294.6);
Tailwind
colors: {
  custom: {
    50: '#725493',
    500: '#341267',
    950: '#000000',
  },
}
SCSS
$custom: #341267;
$custom-light: #725493;
$custom-dark: #000000;
JSON
{
  "hex": "#341267",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 264,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29419,
    "c": 0.13567,
    "h": 294.6
  },
  "luminance": 0.02142
}

Semantic roles & 50–950 ramp

primary
#341267
secondary
#759F36
accent
#ED3BA6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341267

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

Preview Lab → · Contrast checker → · Palette generator →

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