#301250#301250

#301250 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.107 H 301.5°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#301250
RGBrgb(48, 18, 80)
HSLhsl(269, 63%, 19%)
HSVhsv(269, 78%, 31%)
CMYKcmyk(40%, 77.5%, 0%, 68.6%)
CIE-LABlab(13.47, 28.89, -32.08)
CIE-LCHlch(13.47, 43.17, 312.01°)
OKLaboklab(26.69% 0.0561 -0.0914)
OKLCHoklch(26.69% 0.107 301.5)
XYZxyz(2.8828, 1.6402, 7.7526)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301250 #325012
analogous
#121350 #301250 #4F1250
triadic
#301250 #503012 #125030
tetradic
#301250 #501213 #325012 #12504F
square
#301250 #501213 #325012 #12504F
split-complementary
#301250 #504F12 #135012
monochromatic
#0F0619 #12071E #301250 #4E1D82 #6C28B4

Accessibility & contrast

On white

15.81
#301250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#301250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301250
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301250#FFFFFF#000000##FFFFFF
##3012501.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#29212F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301250;
/* rgb */ color: rgb(48, 18, 80);
/* oklch */ color: oklch(26.7% 0.107 301.5);
Tailwind
colors: {
  custom: {
    50: '#6c5382',
    500: '#301250',
    950: '#000000',
  },
}
SCSS
$custom: #301250;
$custom-light: #6c5382;
$custom-dark: #000000;
JSON
{
  "hex": "#301250",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 269.032,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26691,
    "c": 0.10726,
    "h": 301.5
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#301250
secondary
#608935
accent
#E64197
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #301250

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

Preview Lab → · Contrast checker → · Palette generator →

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