#230536#230536

#230536 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.091 H 308.3°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#230536
RGBrgb(35, 5, 54)
HSLhsl(277, 83%, 12%)
HSVhsv(277, 91%, 21%)
CMYKcmyk(35.2%, 90.7%, 0%, 78.8%)
CIE-LABlab(6.61, 25.47, -24.94)
CIE-LCHlch(6.61, 35.65, 315.60°)
OKLaboklab(20.59% 0.0563 -0.0713)
OKLCHoklch(20.59% 0.091 308.3)
XYZxyz(1.4131, 0.7322, 3.5562)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230536 #183605
analogous
#0B0536 #230536 #360531
triadic
#230536 #362305 #053623
tetradic
#230536 #360B05 #183605 #053136
square
#230536 #360B05 #183605 #053136
split-complementary
#230536 #313605 #05360B
monochromatic
#12031C #12031C #230536 #470A6E #6C0FA6

Accessibility & contrast

On white

18.32
#230536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#230536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230536
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230536#FFFFFF#000000##FFFFFF
##2305361.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#20111D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230536;
/* rgb */ color: rgb(35, 5, 54);
/* oklch */ color: oklch(20.6% 0.091 308.3);
Tailwind
colors: {
  custom: {
    50: '#61486d',
    500: '#230536',
    950: '#000000',
  },
}
SCSS
$custom: #230536;
$custom-light: #61486d;
$custom-dark: #000000;
JSON
{
  "hex": "#230536",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 276.735,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20592,
    "c": 0.09084,
    "h": 308.3
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#230536
secondary
#427720
accent
#F92E7D
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230536

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

Preview Lab → · Contrast checker → · Palette generator →

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