#230D3F#230D3F

#230D3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.090 H 299.2°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#230D3F
RGBrgb(35, 13, 63)
HSLhsl(266, 66%, 15%)
HSVhsv(266, 79%, 25%)
CMYKcmyk(44.4%, 79.4%, 0%, 75.3%)
CIE-LABlab(9.02, 23.76, -27.53)
CIE-LCHlch(9.02, 36.36, 310.80°)
OKLaboklab(22.62% 0.0438 -0.0785)
OKLCHoklch(22.62% 0.09 299.2)
XYZxyz(1.7340, 1.0040, 4.8041)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D3F #293F0D
analogous
#0D103F #230D3F #3C0D3F
triadic
#230D3F #3F230D #0D3F23
tetradic
#230D3F #3F0D10 #293F0D #0D3F3C
square
#230D3F #3F0D10 #293F0D #0D3F3C
split-complementary
#230D3F #3F3C0D #103F0D
monochromatic
#0E0519 #0E0519 #230D3F #3F1772 #5B22A4

Accessibility & contrast

On white

17.49
#230D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230D3F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D3F#FFFFFF#000000##FFFFFF
##230D3F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#1C1924
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230d3f;
/* rgb */ color: rgb(35, 13, 63);
/* oklch */ color: oklch(22.6% 0.090 299.2);
Tailwind
colors: {
  custom: {
    50: '#614d74',
    500: '#230d3f',
    950: '#000000',
  },
}
SCSS
$custom: #230d3f;
$custom-light: #614d74;
$custom-dark: #000000;
JSON
{
  "hex": "#230d3f",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 266.4,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22624,
    "c": 0.08994,
    "h": 299.2
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#230D3F
secondary
#597B2D
accent
#E93F9E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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