#230837#230837

#230837 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.087 H 306.5°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#230837
RGBrgb(35, 8, 55)
HSLhsl(274, 75%, 12%)
HSVhsv(274, 85%, 22%)
CMYKcmyk(36.4%, 85.5%, 0%, 78.4%)
CIE-LABlab(7.29, 24.18, -24.58)
CIE-LCHlch(7.29, 34.48, 314.53°)
OKLaboklab(21.14% 0.0518 -0.07)
OKLCHoklch(21.14% 0.087 306.5)
XYZxyz(1.4694, 0.8068, 3.6920)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230837 #1C3708
analogous
#0C0837 #230837 #370834
triadic
#230837 #372308 #083723
tetradic
#230837 #370C08 #1C3708 #083437
square
#230837 #370C08 #1C3708 #083437
split-complementary
#230837 #343708 #08370C
monochromatic
#11041B #11041B #230837 #45106C #6718A2

Accessibility & contrast

On white

18.08
#230837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230837
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230837#FFFFFF#000000##FFFFFF
##2308371.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#001636
Tritanopia (blue-blind)
#20131F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230837;
/* rgb */ color: rgb(35, 8, 55);
/* oklch */ color: oklch(21.1% 0.087 306.5);
Tailwind
colors: {
  custom: {
    50: '#604a6e',
    500: '#230837',
    950: '#000000',
  },
}
SCSS
$custom: #230837;
$custom-light: #604a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#230837",
  "rgb": {
    "r": 35,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 274.468,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21142,
    "c": 0.08703,
    "h": 306.5
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#230837
secondary
#477625
accent
#F13786
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230837

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

Preview Lab → · Contrast checker → · Palette generator →

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