#301043#301043

#301043 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.094 H 310.1°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#301043
RGBrgb(48, 16, 67)
HSLhsl(278, 61%, 16%)
HSVhsv(278, 76%, 26%)
CMYKcmyk(28.4%, 76.1%, 0%, 73.7%)
CIE-LABlab(11.99, 26.41, -25.47)
CIE-LCHlch(11.99, 36.69, 316.04°)
OKLaboklab(25.28% 0.0607 -0.072)
OKLCHoklch(25.28% 0.094 310.1)
XYZxyz(2.4171, 1.4043, 5.4528)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301043 #234310
analogous
#171043 #301043 #43103D
triadic
#301043 #433010 #104330
tetradic
#301043 #431710 #234310 #103D43
square
#301043 #431710 #234310 #103D43
split-complementary
#301043 #3D4310 #104317
monochromatic
#120619 #120619 #301043 #531C74 #7728A6

Accessibility & contrast

On white

16.40
#301043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#301043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301043
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301043#FFFFFF#000000##FFFFFF
##3010431.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#082042
Tritanopia (blue-blind)
#2D1B28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #301043;
/* rgb */ color: rgb(48, 16, 67);
/* oklch */ color: oklch(25.3% 0.094 310.1);
Tailwind
colors: {
  custom: {
    50: '#6b5177',
    500: '#301043',
    950: '#000000',
  },
}
SCSS
$custom: #301043;
$custom-light: #6b5177;
$custom-dark: #000000;
JSON
{
  "hex": "#301043",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 277.647,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25283,
    "c": 0.09414,
    "h": 310.1
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#301043
secondary
#4E7D32
accent
#E5437F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301043

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

Preview Lab → · Contrast checker → · Palette generator →

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