#301343#301343

#301343 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.089 H 309.3°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#301343
RGBrgb(48, 19, 67)
HSLhsl(276, 56%, 17%)
HSVhsv(276, 72%, 26%)
CMYKcmyk(28.4%, 71.6%, 0%, 73.7%)
CIE-LABlab(12.60, 24.70, -24.47)
CIE-LCHlch(12.60, 34.77, 315.26°)
OKLaboklab(25.73% 0.0565 -0.0691)
OKLCHoklch(25.73% 0.089 309.3)
XYZxyz(2.4647, 1.4994, 5.4687)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301343 #264313
analogous
#181343 #301343 #43133E
triadic
#301343 #433013 #134330
tetradic
#301343 #431813 #264313 #133E43
square
#301343 #431813 #264313 #133E43
split-complementary
#301343 #3E4313 #134318
monochromatic
#110718 #110718 #301343 #522173 #742EA2

Accessibility & contrast

On white

16.16
#301343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#301343 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301343
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301343#FFFFFF#000000##FFFFFF
##3013431.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002044
Deuteranopia (green-blind)
#0C2142
Tritanopia (blue-blind)
#2D1D29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #301343;
/* rgb */ color: rgb(48, 19, 67);
/* oklch */ color: oklch(25.7% 0.089 309.3);
Tailwind
colors: {
  custom: {
    50: '#6a5377',
    500: '#301343',
    950: '#000000',
  },
}
SCSS
$custom: #301343;
$custom-light: #6a5377;
$custom-dark: #000000;
JSON
{
  "hex": "#301343",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 276.25,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25729,
    "c": 0.08925,
    "h": 309.3
  },
  "luminance": 0.01499
}

Semantic roles & 50–950 ramp

primary
#301343
secondary
#527C36
accent
#DF4984
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301343

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

Preview Lab → · Contrast checker → · Palette generator →

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