#45236A#45236A

#45236A is a dark, moderate violet. Relative luminance 0.035; OKLCH L 34.1% C 0.119 H 302.5°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#45236A
RGBrgb(69, 35, 106)
HSLhsl(269, 50%, 28%)
HSVhsv(269, 67%, 42%)
CMYKcmyk(34.9%, 67%, 0%, 58.4%)
CIE-LABlab(21.97, 31.53, -35.50)
CIE-LCHlch(21.97, 47.48, 311.61°)
OKLaboklab(34.1% 0.0642 -0.1008)
OKLCHoklch(34.1% 0.119 302.5)
XYZxyz(5.6562, 3.5079, 14.0120)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45236A #486A23
analogous
#23256A #45236A #68236A
triadic
#45236A #6A4523 #236A45
tetradic
#45236A #6A2325 #486A23 #236A68
square
#45236A #6A2325 #486A23 #236A68
split-complementary
#45236A #6A6823 #256A23
monochromatic
#0F0817 #27143C #45236A #633298 #8146C2

Accessibility & contrast

On white

12.34
#45236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#45236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45236A
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45236A#FFFFFF#000000##FFFFFF
##45236A1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#0B3468
Tritanopia (blue-blind)
#3E3243
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #45236a;
/* rgb */ color: rgb(69, 35, 106);
/* oklch */ color: oklch(34.1% 0.119 302.5);
Tailwind
colors: {
  custom: {
    50: '#7c6095',
    500: '#45236a',
    950: '#000000',
  },
}
SCSS
$custom: #45236a;
$custom-light: #7c6095;
$custom-dark: #000000;
JSON
{
  "hex": "#45236a",
  "rgb": {
    "r": 69,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 268.732,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.341,
    "c": 0.11949,
    "h": 302.5
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#45236A
secondary
#769D4B
accent
#DA4E97
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #45236A

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

Preview Lab → · Contrast checker → · Palette generator →

#45236A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva