#301645#301645

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

Color values

HEX#301645
RGBrgb(48, 22, 69)
HSLhsl(273, 52%, 18%)
HSVhsv(273, 68%, 27%)
CMYKcmyk(30.4%, 68.1%, 0%, 72.9%)
CIE-LABlab(13.42, 23.44, -24.56)
CIE-LCHlch(13.42, 33.95, 313.66°)
OKLaboklab(26.37% 0.0521 -0.0693)
OKLCHoklch(26.37% 0.087 306.9)
XYZxyz(2.5798, 1.6319, 5.8082)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301645 #2B4516
analogous
#181645 #301645 #451642
triadic
#301645 #453016 #164530
tetradic
#301645 #451816 #2B4516 #164245
square
#301645 #451816 #2B4516 #164245
split-complementary
#301645 #424516 #164518
monochromatic
#100717 #100717 #301645 #502573 #7134A2

Accessibility & contrast

On white

15.83
#301645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301645
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301645#FFFFFF#000000##FFFFFF
##3016451.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022146
Deuteranopia (green-blind)
#0D2344
Tritanopia (blue-blind)
#2D1F2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301645;
/* rgb */ color: rgb(48, 22, 69);
/* oklch */ color: oklch(26.4% 0.087 306.9);
Tailwind
colors: {
  custom: {
    50: '#6a5579',
    500: '#301645',
    950: '#000000',
  },
}
SCSS
$custom: #301645;
$custom-light: #6a5579;
$custom-dark: #000000;
JSON
{
  "hex": "#301645",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 273.191,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26371,
    "c": 0.08672,
    "h": 306.9
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#301645
secondary
#587C3A
accent
#DB4D8C
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #301645

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

Preview Lab → · Contrast checker → · Palette generator →

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