#230D3E#230D3E

#230D3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.089 H 299.8°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#230D3E
RGBrgb(35, 13, 62)
HSLhsl(267, 65%, 15%)
HSVhsv(267, 79%, 24%)
CMYKcmyk(43.5%, 79%, 0%, 75.7%)
CIE-LABlab(8.93, 23.45, -26.96)
CIE-LCHlch(8.93, 35.73, 311.02°)
OKLaboklab(22.53% 0.044 -0.0769)
OKLCHoklch(22.53% 0.089 299.8)
XYZxyz(1.7063, 0.9930, 4.6583)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D3E #283E0D
analogous
#0D103E #230D3E #3C0D3E
triadic
#230D3E #3E230D #0D3E23
tetradic
#230D3E #3E0D10 #283E0D #0D3E3C
square
#230D3E #3E0D10 #283E0D #0D3E3C
split-complementary
#230D3E #3E3C0D #103E0D
monochromatic
#0E0519 #0E0519 #230D3E #401871 #5C22A3

Accessibility & contrast

On white

17.52
#230D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#230D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D3E
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D3E#FFFFFF#000000##FFFFFF
##230D3E1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#1D1924
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230d3e;
/* rgb */ color: rgb(35, 13, 62);
/* oklch */ color: oklch(22.5% 0.089 299.8);
Tailwind
colors: {
  custom: {
    50: '#614d74',
    500: '#230d3e',
    950: '#000000',
  },
}
SCSS
$custom: #230d3e;
$custom-light: #614d74;
$custom-dark: #000000;
JSON
{
  "hex": "#230d3e",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 266.939,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22529,
    "c": 0.08859,
    "h": 299.8
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#230D3E
secondary
#577A2D
accent
#E8409D
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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