#300F53#300F53

#300F53 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.115 H 300.7°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#300F53
RGBrgb(48, 15, 83)
HSLhsl(269, 69%, 19%)
HSVhsv(269, 82%, 33%)
CMYKcmyk(42.2%, 81.9%, 0%, 67.5%)
CIE-LABlab(13.20, 31.30, -34.58)
CIE-LCHlch(13.20, 46.64, 312.15°)
OKLaboklab(26.58% 0.0587 -0.0987)
OKLCHoklch(26.58% 0.115 300.7)
XYZxyz(2.9507, 1.5945, 8.3343)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F53 #32530F
analogous
#0F1053 #300F53 #520F53
triadic
#300F53 #53300F #0F5330
tetradic
#300F53 #530F10 #32530F #0F5352
square
#300F53 #530F10 #32530F #0F5352
split-complementary
#300F53 #53520F #10530F
monochromatic
#0F051A #12061F #300F53 #4E1887 #6C22BB

Accessibility & contrast

On white

15.92
#300F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#300F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F53
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F53#FFFFFF#000000##FFFFFF
##300F531.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#282130
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #300f53;
/* rgb */ color: rgb(48, 15, 83);
/* oklch */ color: oklch(26.6% 0.115 300.7);
Tailwind
colors: {
  custom: {
    50: '#6d5184',
    500: '#300f53',
    950: '#000000',
  },
}
SCSS
$custom: #300f53;
$custom-light: #6d5184;
$custom-dark: #000000;
JSON
{
  "hex": "#300f53",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 269.118,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26581,
    "c": 0.11486,
    "h": 300.7
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#300F53
secondary
#608D31
accent
#EC3C96
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #300F53

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

Preview Lab → · Contrast checker → · Palette generator →

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