#301146#301146

#301146 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.096 H 307.8°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#301146
RGBrgb(48, 17, 70)
HSLhsl(275, 61%, 17%)
HSVhsv(275, 76%, 27%)
CMYKcmyk(31.4%, 75.7%, 0%, 72.5%)
CIE-LABlab(12.43, 26.66, -26.86)
CIE-LCHlch(12.43, 37.84, 314.78°)
OKLaboklab(25.67% 0.059 -0.0761)
OKLCHoklch(25.67% 0.096 307.8)
XYZxyz(2.5246, 1.4715, 5.9442)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301146 #274611
analogous
#151146 #301146 #461142
triadic
#301146 #463011 #114630
tetradic
#301146 #461511 #274611 #114246
square
#301146 #461511 #274611 #114246
split-complementary
#301146 #424611 #114615
monochromatic
#110619 #110619 #301146 #521D77 #7429A8

Accessibility & contrast

On white

16.23
#301146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301146
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301146#FFFFFF#000000##FFFFFF
##3011461.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301146;
/* rgb */ color: rgb(48, 17, 70);
/* oklch */ color: oklch(25.7% 0.096 307.8);
Tailwind
colors: {
  custom: {
    50: '#6b527a',
    500: '#301146',
    950: '#000000',
  },
}
SCSS
$custom: #301146;
$custom-light: #6b527a;
$custom-dark: #000000;
JSON
{
  "hex": "#301146",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 275.094,
    "s": 60.92,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25675,
    "c": 0.09627,
    "h": 307.8
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#301146
secondary
#538033
accent
#E44486
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301146

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

Preview Lab → · Contrast checker → · Palette generator →

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