#230F39#230F39

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

Color values

HEX#230F39
RGBrgb(35, 15, 57)
HSLhsl(269, 58%, 14%)
HSVhsv(269, 74%, 22%)
CMYKcmyk(38.6%, 73.7%, 0%, 77.6%)
CIE-LABlab(8.94, 20.68, -23.35)
CIE-LCHlch(8.94, 31.20, 311.53°)
OKLaboklab(22.4% 0.042 -0.0663)
OKLCHoklch(22.4% 0.078 302.4)
XYZxyz(1.6023, 0.9944, 3.9776)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F39 #25390F
analogous
#0F1039 #230F39 #380F39
triadic
#230F39 #39230F #0F3923
tetradic
#230F39 #390F10 #25390F #0F3938
square
#230F39 #390F10 #25390F #0F3938
split-complementary
#230F39 #39380F #10390F
monochromatic
#0F0618 #0F0618 #230F39 #411C69 #5F299A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##230F39#FFFFFF#000000##FFFFFF
##230F391.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)
#00193A
Deuteranopia (green-blind)
#031938
Tritanopia (blue-blind)
#1F1822
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230f39;
/* rgb */ color: rgb(35, 15, 57);
/* oklch */ color: oklch(22.4% 0.078 302.4);
Tailwind
colors: {
  custom: {
    50: '#604e70',
    500: '#230f39',
    950: '#000000',
  },
}
SCSS
$custom: #230f39;
$custom-light: #604e70;
$custom-dark: #000000;
JSON
{
  "hex": "#230f39",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 268.571,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22399,
    "c": 0.07848,
    "h": 302.4
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#230F39
secondary
#537330
accent
#E24698
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230F39

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

Preview Lab → · Contrast checker → · Palette generator →

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