#301253#301253

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

Color values

HEX#301253
RGBrgb(48, 18, 83)
HSLhsl(268, 64%, 20%)
HSVhsv(268, 78%, 33%)
CMYKcmyk(42.2%, 78.3%, 0%, 67.5%)
CIE-LABlab(13.74, 29.75, -33.69)
CIE-LCHlch(13.74, 44.95, 311.45°)
OKLaboklab(26.97% 0.0555 -0.0961)
OKLCHoklch(26.97% 0.111 300)
XYZxyz(2.9962, 1.6855, 8.3494)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301253 #355312
analogous
#121553 #301253 #501253
triadic
#301253 #533012 #125330
tetradic
#301253 #531215 #355312 #125350
square
#301253 #531215 #355312 #125350
split-complementary
#301253 #535012 #155312
monochromatic
#0F0519 #130721 #301253 #4D1D85 #6A28B8

Accessibility & contrast

On white

15.70
#301253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301253
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301253#FFFFFF#000000##FFFFFF
##3012531.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#282231
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301253;
/* rgb */ color: rgb(48, 18, 83);
/* oklch */ color: oklch(27.0% 0.111 300.0);
Tailwind
colors: {
  custom: {
    50: '#6c5384',
    500: '#301253',
    950: '#000000',
  },
}
SCSS
$custom: #301253;
$custom-light: #6c5384;
$custom-dark: #000000;
JSON
{
  "hex": "#301253",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 267.692,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26966,
    "c": 0.111,
    "h": 300
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#301253
secondary
#648C35
accent
#E7409A
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #301253

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

Preview Lab → · Contrast checker → · Palette generator →

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