#301269#301269

#301269 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.138 H 290.8°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#301269
RGBrgb(48, 18, 105)
HSLhsl(261, 71%, 24%)
HSVhsv(261, 83%, 41%)
CMYKcmyk(54.3%, 82.9%, 0%, 58.8%)
CIE-LABlab(15.91, 36.17, -44.85)
CIE-LCHlch(15.91, 57.62, 308.88°)
OKLaboklab(29.15% 0.0491 -0.1289)
OKLCHoklch(29.15% 0.138 290.8)
XYZxyz(3.9843, 2.0807, 13.5536)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301269 #4B6912
analogous
#121F69 #301269 #5C1269
triadic
#301269 #693012 #126930
tetradic
#301269 #69121F #4B6912 #12695C
square
#301269 #69121F #4B6912 #12695C
split-complementary
#301269 #695C12 #1F6912
monochromatic
#0C041A #180935 #301269 #481B9D #6024D1

Accessibility & contrast

On white

14.83
#301269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#301269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301269
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301269#FFFFFF#000000##FFFFFF
##3012691.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#1C2B3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #301269;
/* rgb */ color: rgb(48, 18, 105);
/* oklch */ color: oklch(29.1% 0.138 290.8);
Tailwind
colors: {
  custom: {
    50: '#705495',
    500: '#301269',
    950: '#000000',
  },
}
SCSS
$custom: #301269;
$custom-light: #705495;
$custom-dark: #000000;
JSON
{
  "hex": "#301269",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 260.69,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29149,
    "c": 0.13793,
    "h": 290.8
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#301269
secondary
#7CA136
accent
#ED3AB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301269

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

Preview Lab → · Contrast checker → · Palette generator →

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