#341253#341253

#341253 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.112 H 303.6°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#341253
RGBrgb(52, 18, 83)
HSLhsl(271, 64%, 20%)
HSVhsv(271, 78%, 33%)
CMYKcmyk(37.3%, 78.3%, 0%, 67.5%)
CIE-LABlab(14.33, 30.62, -32.71)
CIE-LCHlch(14.33, 44.80, 313.11°)
OKLaboklab(27.51% 0.062 -0.0931)
OKLCHoklch(27.51% 0.112 303.6)
XYZxyz(3.1935, 1.7872, 8.3587)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341253 #315312
analogous
#141253 #341253 #531251
triadic
#341253 #533412 #125334
tetradic
#341253 #531412 #315312 #125153
square
#341253 #531412 #315312 #125153
split-complementary
#341253 #515312 #125314
monochromatic
#100519 #140721 #341253 #541D85 #7328B8

Accessibility & contrast

On white

15.47
#341253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#341253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341253
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341253#FFFFFF#000000##FFFFFF
##3412531.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#2E2231
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341253;
/* rgb */ color: rgb(52, 18, 83);
/* oklch */ color: oklch(27.5% 0.112 303.6);
Tailwind
colors: {
  custom: {
    50: '#6f5384',
    500: '#341253',
    950: '#000000',
  },
}
SCSS
$custom: #341253;
$custom-light: #6f5384;
$custom-dark: #000000;
JSON
{
  "hex": "#341253",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 271.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2751,
    "c": 0.11185,
    "h": 303.6
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#341253
secondary
#5E8C35
accent
#E74090
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341253

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

Preview Lab → · Contrast checker → · Palette generator →

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