#301143#301143

#301143 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.093 H 309.9°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#301143
RGBrgb(48, 17, 67)
HSLhsl(277, 60%, 16%)
HSVhsv(277, 75%, 26%)
CMYKcmyk(28.4%, 74.6%, 0%, 73.7%)
CIE-LABlab(12.19, 25.85, -25.15)
CIE-LCHlch(12.19, 36.06, 315.79°)
OKLaboklab(25.43% 0.0593 -0.071)
OKLCHoklch(25.43% 0.093 309.9)
XYZxyz(2.4323, 1.4346, 5.4579)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301143 #244311
analogous
#171143 #301143 #43113D
triadic
#301143 #433011 #114330
tetradic
#301143 #431711 #244311 #113D43
square
#301143 #431711 #244311 #113D43
split-complementary
#301143 #3D4311 #114317
monochromatic
#110618 #110618 #301143 #531D74 #762AA5

Accessibility & contrast

On white

16.32
#301143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301143
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301143#FFFFFF#000000##FFFFFF
##3011431.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F45
Deuteranopia (green-blind)
#0A2042
Tritanopia (blue-blind)
#2D1B28
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #301143;
/* rgb */ color: rgb(48, 17, 67);
/* oklch */ color: oklch(25.4% 0.093 309.9);
Tailwind
colors: {
  custom: {
    50: '#6b5177',
    500: '#301143',
    950: '#000000',
  },
}
SCSS
$custom: #301143;
$custom-light: #6b5177;
$custom-dark: #000000;
JSON
{
  "hex": "#301143",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 277.2,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25427,
    "c": 0.09255,
    "h": 309.9
  },
  "luminance": 0.01435
}

Semantic roles & 50–950 ramp

primary
#301143
secondary
#4F7D33
accent
#E34581
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #301143

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

Preview Lab → · Contrast checker → · Palette generator →

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