#230B37#230B37

#230B37 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.082 H 305.5°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#230B37
RGBrgb(35, 11, 55)
HSLhsl(273, 67%, 13%)
HSVhsv(273, 80%, 22%)
CMYKcmyk(36.4%, 80%, 0%, 78.4%)
CIE-LABlab(7.88, 22.54, -23.62)
CIE-LCHlch(7.88, 32.65, 313.66°)
OKLaboklab(21.58% 0.0478 -0.067)
OKLCHoklch(21.58% 0.082 305.5)
XYZxyz(1.5022, 0.8725, 3.7030)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B37 #1F370B
analogous
#0D0B37 #230B37 #370B35
triadic
#230B37 #37230B #0B3723
tetradic
#230B37 #370D0B #1F370B #0B3537
square
#230B37 #370D0B #1F370B #0B3537
split-complementary
#230B37 #35370B #0B370D
monochromatic
#10051A #10051A #230B37 #43156A #641F9D

Accessibility & contrast

On white

17.88
#230B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B37
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B37#FFFFFF#000000##FFFFFF
##230B371.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#011736
Tritanopia (blue-blind)
#1F151F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230b37;
/* rgb */ color: rgb(35, 11, 55);
/* oklch */ color: oklch(21.6% 0.082 305.5);
Tailwind
colors: {
  custom: {
    50: '#604c6e',
    500: '#230b37',
    950: '#000000',
  },
}
SCSS
$custom: #230b37;
$custom-light: #604c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#230b37",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 272.727,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2158,
    "c": 0.08236,
    "h": 305.5
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#230B37
secondary
#4C742A
accent
#EA3E8C
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230B37

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

Preview Lab → · Contrast checker → · Palette generator →

#230B37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva