#301550#301550

#301550 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.103 H 300.7°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#301550
RGBrgb(48, 21, 80)
HSLhsl(267, 58%, 20%)
HSVhsv(267, 74%, 31%)
CMYKcmyk(40%, 73.7%, 0%, 68.6%)
CIE-LABlab(14.08, 27.20, -31.09)
CIE-LCHlch(14.08, 41.31, 311.18°)
OKLaboklab(27.13% 0.0525 -0.0885)
OKLCHoklch(27.13% 0.103 300.7)
XYZxyz(2.9347, 1.7439, 7.7698)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301550 #355015
analogous
#151750 #301550 #4E1550
triadic
#301550 #503015 #155030
tetradic
#301550 #501517 #355015 #15504E
square
#301550 #501517 #355015 #15504E
split-complementary
#301550 #504E15 #175015
monochromatic
#0F0618 #130820 #301550 #4D2280 #6A2EB1

Accessibility & contrast

On white

15.57
#301550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#301550 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301550
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301550#FFFFFF#000000##FFFFFF
##3015501.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#292330
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301550;
/* rgb */ color: rgb(48, 21, 80);
/* oklch */ color: oklch(27.1% 0.103 300.7);
Tailwind
colors: {
  custom: {
    50: '#6c5482',
    500: '#301550',
    950: '#000000',
  },
}
SCSS
$custom: #301550;
$custom-light: #6c5482;
$custom-dark: #000000;
JSON
{
  "hex": "#301550",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 267.458,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27125,
    "c": 0.10291,
    "h": 300.7
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#301550
secondary
#648839
accent
#E2469A
background
#F6F4F8
surface
#EBE8EF
border
#C6C4CA
text
#07030A
muted
#7A787C

Preview Lab

Preview with #301550

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

Preview Lab → · Contrast checker → · Palette generator →

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