#230546#230546

#230546 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.109 H 297.4°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#230546
RGBrgb(35, 5, 70)
HSLhsl(268, 87%, 15%)
HSVhsv(268, 93%, 27%)
CMYKcmyk(50%, 92.9%, 0%, 72.5%)
CIE-LABlab(8.20, 30.25, -33.83)
CIE-LCHlch(8.20, 45.38, 311.80°)
OKLaboklab(22.27% 0.0503 -0.097)
OKLCHoklch(22.27% 0.109 297.4)
XYZxyz(1.8526, 0.9080, 5.8708)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230546 #284605
analogous
#050846 #230546 #440546
triadic
#230546 #462305 #054623
tetradic
#230546 #460508 #284605 #054644
square
#230546 #460508 #284605 #054644
split-complementary
#230546 #464405 #084605
monochromatic
#0E021D #0E021D #230546 #40097F #5C0DB8

Accessibility & contrast

On white

17.77
#230546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230546
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230546#FFFFFF#000000##FFFFFF
##2305461.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001745
Tritanopia (blue-blind)
#1A1826
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230546;
/* rgb */ color: rgb(35, 5, 70);
/* oklch */ color: oklch(22.3% 0.109 297.4);
Tailwind
colors: {
  custom: {
    50: '#63497a',
    500: '#230546',
    950: '#000000',
  },
}
SCSS
$custom: #230546;
$custom-light: #63497a;
$custom-dark: #000000;
JSON
{
  "hex": "#230546",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 267.692,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22267,
    "c": 0.10923,
    "h": 297.4
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#230546
secondary
#578621
accent
#FD2B9C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #230546

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

Preview Lab → · Contrast checker → · Palette generator →

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