#341263#341263

#341263 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.131 H 296.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#341263
RGBrgb(52, 18, 99)
HSLhsl(265, 69%, 23%)
HSVhsv(265, 82%, 39%)
CMYKcmyk(47.5%, 81.8%, 0%, 61.2%)
CIE-LABlab(15.82, 35.08, -41.02)
CIE-LCHlch(15.82, 53.98, 310.54°)
OKLaboklab(29.02% 0.0578 -0.1175)
OKLCHoklch(29.02% 0.131 296.2)
XYZxyz(3.8840, 2.0634, 11.9956)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341263 #416312
analogous
#121863 #341263 #5C1263
triadic
#341263 #633412 #126334
tetradic
#341263 #631218 #416312 #12635C
square
#341263 #631218 #416312 #12635C
split-complementary
#341263 #635C12 #186312
monochromatic
#0E051A #19092F #341263 #4F1B97 #6A25CB

Accessibility & contrast

On white

14.86
#341263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#341263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341263
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341263#FFFFFF#000000##FFFFFF
##3412631.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#27283A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341263;
/* rgb */ color: rgb(52, 18, 99);
/* oklch */ color: oklch(29.0% 0.131 296.2);
Tailwind
colors: {
  custom: {
    50: '#715490',
    500: '#341263',
    950: '#000000',
  },
}
SCSS
$custom: #341263;
$custom-light: #715490;
$custom-dark: #000000;
JSON
{
  "hex": "#341263",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 265.185,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29019,
    "c": 0.13095,
    "h": 296.2
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#341263
secondary
#719B36
accent
#EC3CA2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #341263

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

Preview Lab → · Contrast checker → · Palette generator →

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