#301643#301643

#301643 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.084 H 308.3°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#301643
RGBrgb(48, 22, 67)
HSLhsl(275, 51%, 17%)
HSVhsv(275, 67%, 26%)
CMYKcmyk(28.4%, 67.2%, 0%, 73.7%)
CIE-LABlab(13.28, 22.88, -23.40)
CIE-LCHlch(13.28, 32.72, 314.36°)
OKLaboklab(26.22% 0.0521 -0.0659)
OKLCHoklch(26.22% 0.084 308.3)
XYZxyz(2.5187, 1.6075, 5.4867)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301643 #294316
analogous
#1A1643 #301643 #43163F
triadic
#301643 #433016 #164330
tetradic
#301643 #431A16 #294316 #163F43
square
#301643 #431A16 #294316 #163F43
split-complementary
#301643 #3F4316 #16431A
monochromatic
#110817 #110817 #301643 #512571 #72349F

Accessibility & contrast

On white

15.89
#301643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#301643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301643
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301643#FFFFFF#000000##FFFFFF
##3016431.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052144
Deuteranopia (green-blind)
#0F2242
Tritanopia (blue-blind)
#2D1F2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301643;
/* rgb */ color: rgb(48, 22, 67);
/* oklch */ color: oklch(26.2% 0.084 308.3);
Tailwind
colors: {
  custom: {
    50: '#6a5577',
    500: '#301643',
    950: '#000000',
  },
}
SCSS
$custom: #301643;
$custom-light: #6a5577;
$custom-dark: #000000;
JSON
{
  "hex": "#301643",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 67
  },
  "hsl": {
    "h": 274.667,
    "s": 50.562,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26216,
    "c": 0.08404,
    "h": 308.3
  },
  "luminance": 0.01607
}

Semantic roles & 50–950 ramp

primary
#301643
secondary
#557A3A
accent
#DA4E89
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#060309
muted
#7A787B

Preview Lab

Preview with #301643

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

Preview Lab → · Contrast checker → · Palette generator →

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