#300C55#300C55

#300C55 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.4% C 0.121 H 300.3°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#300C55
RGBrgb(48, 12, 85)
HSLhsl(270, 75%, 19%)
HSVhsv(270, 86%, 33%)
CMYKcmyk(43.5%, 85.9%, 0%, 66.7%)
CIE-LABlab(12.90, 33.24, -36.42)
CIE-LCHlch(12.90, 49.31, 312.39°)
OKLaboklab(26.44% 0.0609 -0.1041)
OKLCHoklch(26.44% 0.121 300.3)
XYZxyz(2.9897, 1.5472, 8.7337)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C55 #31550C
analogous
#0C0D55 #300C55 #550C55
triadic
#300C55 #55300C #0C5530
tetradic
#300C55 #550C0D #31550C #0C5555
square
#300C55 #550C0D #31550C #0C5555
split-complementary
#300C55 #55550C #0D550C
monochromatic
#0F041B #12041F #300C55 #4E148B #6D1BC0

Accessibility & contrast

On white

16.04
#300C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#300C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300C55
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C55#FFFFFF#000000##FFFFFF
##300C551.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#272031
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #300c55;
/* rgb */ color: rgb(48, 12, 85);
/* oklch */ color: oklch(26.4% 0.121 300.3);
Tailwind
colors: {
  custom: {
    50: '#6d5086',
    500: '#300c55',
    950: '#000000',
  },
}
SCSS
$custom: #300c55;
$custom-light: #6d5086;
$custom-dark: #000000;
JSON
{
  "hex": "#300c55",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 269.589,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26436,
    "c": 0.12063,
    "h": 300.3
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#300C55
secondary
#5F902D
accent
#F23695
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #300C55

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

Preview Lab → · Contrast checker → · Palette generator →

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