#301834#301834

#301834 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.5% C 0.060 H 321.7°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#301834
RGBrgb(48, 24, 52)
HSLhsl(291, 37%, 15%)
HSVhsv(291, 54%, 20%)
CMYKcmyk(7.7%, 53.8%, 0%, 79.6%)
CIE-LABlab(12.80, 17.62, -13.51)
CIE-LCHlch(12.80, 22.21, 322.52°)
OKLaboklab(25.55% 0.0472 -0.0372)
OKLCHoklch(25.55% 0.06 321.7)
XYZxyz(2.1653, 1.5297, 3.4293)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301834 #1C3418
analogous
#221834 #301834 #34182A
triadic
#301834 #343018 #183430
tetradic
#301834 #342218 #1C3418 #182A34
square
#301834 #342218 #1C3418 #182A34
split-complementary
#301834 #2A3418 #183422
monochromatic
#130A15 #130A15 #301834 #572B5E #7D3F88

Accessibility & contrast

On white

16.08
#301834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#301834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301834
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301834#FFFFFF#000000##FFFFFF
##3018341.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141F35
Deuteranopia (green-blind)
#1B2233
Tritanopia (blue-blind)
#311B23
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #301834;
/* rgb */ color: rgb(48, 24, 52);
/* oklch */ color: oklch(25.5% 0.060 321.7);
Tailwind
colors: {
  custom: {
    50: '#69556b',
    500: '#301834',
    950: '#000000',
  },
}
SCSS
$custom: #301834;
$custom-light: #69556b;
$custom-dark: #000000;
JSON
{
  "hex": "#301834",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 291.429,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25547,
    "c": 0.06009,
    "h": 321.7
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#301834
secondary
#446A3E
accent
#CD5B6B
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #301834

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

Preview Lab → · Contrast checker → · Palette generator →

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