#230836#230836

#230836 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.086 H 307.3°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#230836
RGBrgb(35, 8, 54)
HSLhsl(275, 74%, 12%)
HSVhsv(275, 85%, 21%)
CMYKcmyk(35.2%, 85.2%, 0%, 78.8%)
CIE-LABlab(7.20, 23.87, -23.99)
CIE-LCHlch(7.20, 33.84, 314.86°)
OKLaboklab(21.05% 0.052 -0.0682)
OKLCHoklch(21.05% 0.086 307.3)
XYZxyz(1.4457, 0.7974, 3.5671)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230836 #1B3608
analogous
#0C0836 #230836 #360832
triadic
#230836 #362308 #083623
tetradic
#230836 #360C08 #1B3608 #083236
square
#230836 #360C08 #1B3608 #083236
split-complementary
#230836 #323608 #08360C
monochromatic
#11041B #11041B #230836 #46106B #6818A1

Accessibility & contrast

On white

18.11
#230836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230836
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230836#FFFFFF#000000##FFFFFF
##2308361.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#001635
Tritanopia (blue-blind)
#20131E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230836;
/* rgb */ color: rgb(35, 8, 54);
/* oklch */ color: oklch(21.0% 0.086 307.3);
Tailwind
colors: {
  custom: {
    50: '#604a6d',
    500: '#230836',
    950: '#000000',
  },
}
SCSS
$custom: #230836;
$custom-light: #604a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#230836",
  "rgb": {
    "r": 35,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 275.217,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21049,
    "c": 0.0858,
    "h": 307.3
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#230836
secondary
#467525
accent
#F13784
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230836

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

Preview Lab → · Contrast checker → · Palette generator →

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