#300F43#300F43

#300F43 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.096 H 310.4°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#300F43
RGBrgb(48, 15, 67)
HSLhsl(278, 63%, 16%)
HSVhsv(278, 78%, 26%)
CMYKcmyk(28.4%, 77.6%, 0%, 73.7%)
CIE-LABlab(11.79, 26.95, -25.78)
CIE-LCHlch(11.79, 37.29, 316.27°)
OKLaboklab(25.15% 0.062 -0.0729)
OKLCHoklch(25.15% 0.096 310.4)
XYZxyz(2.4027, 1.3753, 5.4480)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F43 #22430F
analogous
#160F43 #300F43 #430F3C
triadic
#300F43 #43300F #0F4330
tetradic
#300F43 #43160F #22430F #0F3C43
square
#300F43 #43160F #22430F #0F3C43
split-complementary
#300F43 #3C430F #0F4316
monochromatic
#120619 #120619 #300F43 #541A75 #7825A7

Accessibility & contrast

On white

16.47
#300F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#300F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F43
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F43#FFFFFF#000000##FFFFFF
##300F431.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#072042
Tritanopia (blue-blind)
#2D1A27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #300f43;
/* rgb */ color: rgb(48, 15, 67);
/* oklch */ color: oklch(25.1% 0.096 310.4);
Tailwind
colors: {
  custom: {
    50: '#6b5077',
    500: '#300f43',
    950: '#000000',
  },
}
SCSS
$custom: #300f43;
$custom-light: #6b5077;
$custom-dark: #000000;
JSON
{
  "hex": "#300f43",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 278.077,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25145,
    "c": 0.09566,
    "h": 310.4
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#300F43
secondary
#4D7D30
accent
#E6417E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300F43

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

Preview Lab → · Contrast checker → · Palette generator →

#300F43 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva