#301450#301450

#301450 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.104 H 301.0°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#301450
RGBrgb(48, 20, 80)
HSLhsl(268, 60%, 20%)
HSVhsv(268, 75%, 31%)
CMYKcmyk(40%, 75%, 0%, 68.6%)
CIE-LABlab(13.87, 27.78, -31.43)
CIE-LCHlch(13.87, 41.94, 311.47°)
OKLaboklab(26.98% 0.0537 -0.0895)
OKLCHoklch(26.98% 0.104 301)
XYZxyz(2.9167, 1.7079, 7.7638)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301450 #345014
analogous
#141650 #301450 #4E1450
triadic
#301450 #503014 #145030
tetradic
#301450 #501416 #345014 #14504E
square
#301450 #501416 #345014 #14504E
split-complementary
#301450 #504E14 #165014
monochromatic
#0F0618 #13081F #301450 #4D2081 #6B2CB2

Accessibility & contrast

On white

15.65
#301450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#301450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301450
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301450#FFFFFF#000000##FFFFFF
##3014501.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#292230
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301450;
/* rgb */ color: rgb(48, 20, 80);
/* oklch */ color: oklch(27.0% 0.104 301.0);
Tailwind
colors: {
  custom: {
    50: '#6c5482',
    500: '#301450',
    950: '#000000',
  },
}
SCSS
$custom: #301450;
$custom-light: #6c5482;
$custom-dark: #000000;
JSON
{
  "hex": "#301450",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 268,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26976,
    "c": 0.1044,
    "h": 301
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#301450
secondary
#638838
accent
#E34599
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07030A
muted
#7A787C

Preview Lab

Preview with #301450

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

Preview Lab → · Contrast checker → · Palette generator →

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