#301646#301646

#301646 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.088 H 306.2°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#301646
RGBrgb(48, 22, 70)
HSLhsl(273, 52%, 18%)
HSVhsv(273, 69%, 27%)
CMYKcmyk(31.4%, 68.6%, 0%, 72.5%)
CIE-LABlab(13.50, 23.72, -25.13)
CIE-LCHlch(13.50, 34.56, 313.34°)
OKLaboklab(26.45% 0.0521 -0.071)
OKLCHoklch(26.45% 0.088 306.2)
XYZxyz(2.6111, 1.6444, 5.9730)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301646 #2C4616
analogous
#181646 #301646 #461644
triadic
#301646 #463016 #164630
tetradic
#301646 #461816 #2C4616 #164446
square
#301646 #461816 #2C4616 #164446
split-complementary
#301646 #444616 #164618
monochromatic
#100717 #100717 #301646 #502575 #7033A3

Accessibility & contrast

On white

15.80
#301646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#301646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301646
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301646#FFFFFF#000000##FFFFFF
##3016461.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012248
Deuteranopia (green-blind)
#0C2345
Tritanopia (blue-blind)
#2C202B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301646;
/* rgb */ color: rgb(48, 22, 70);
/* oklch */ color: oklch(26.4% 0.088 306.2);
Tailwind
colors: {
  custom: {
    50: '#6a557a',
    500: '#301646',
    950: '#000000',
  },
}
SCSS
$custom: #301646;
$custom-light: #6a557a;
$custom-dark: #000000;
JSON
{
  "hex": "#301646",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 70
  },
  "hsl": {
    "h": 272.5,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26449,
    "c": 0.08806,
    "h": 306.2
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#301646
secondary
#597D3A
accent
#DC4C8E
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #301646

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

Preview Lab → · Contrast checker → · Palette generator →

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