#301145#301145

#301145 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.095 H 308.5°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#301145
RGBrgb(48, 17, 69)
HSLhsl(276, 60%, 17%)
HSVhsv(276, 75%, 27%)
CMYKcmyk(30.4%, 75.4%, 0%, 72.9%)
CIE-LABlab(12.35, 26.39, -26.29)
CIE-LCHlch(12.35, 37.25, 315.10°)
OKLaboklab(25.59% 0.0591 -0.0744)
OKLCHoklch(25.59% 0.095 308.5)
XYZxyz(2.4933, 1.4590, 5.7793)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301145 #264511
analogous
#161145 #301145 #451140
triadic
#301145 #453011 #114530
tetradic
#301145 #451611 #264511 #114045
square
#301145 #451611 #264511 #114045
split-complementary
#301145 #404511 #114516
monochromatic
#110619 #110619 #301145 #521D76 #7429A7

Accessibility & contrast

On white

16.26
#301145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#301145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301145
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301145#FFFFFF#000000##FFFFFF
##3011451.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#072144
Tritanopia (blue-blind)
#2D1C29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #301145;
/* rgb */ color: rgb(48, 17, 69);
/* oklch */ color: oklch(25.6% 0.095 308.5);
Tailwind
colors: {
  custom: {
    50: '#6b5279',
    500: '#301145',
    950: '#000000',
  },
}
SCSS
$custom: #301145;
$custom-light: #6b5279;
$custom-dark: #000000;
JSON
{
  "hex": "#301145",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 275.769,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25592,
    "c": 0.09503,
    "h": 308.5
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#301145
secondary
#527F33
accent
#E44485
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301145

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

Preview Lab → · Contrast checker → · Palette generator →

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